Sign in
llvm
/
llvm-project
/
4b267bb7c2f1f84e10d3d47d17e0a19de6559de2
/
.
/
clang
/
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