Sign in
rust
/
rust-lang
/
llvm-project
/
c13b7485b87909fcf739f62cfa382b55407433c0
/
.
/
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