Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
test
/
AST
/
dynamic-alloc-lvalue.cpp
blob: 2a426638d0b79307eeac286423dc43e887722787 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-pch -o %t %s
// Test that serialization/deserialization of a DynamicAllocLValue
// variant of APValue does not crash.
#ifndef
HEADER
#define
HEADER
struct
A
{
int
*
p
;
};
const
A
&
w
=
A
{
new
int
(
10
)
};
#endif