[flang][cuda] Adapt ExternalNameConversion to work in gpu module (#117039)
[llvm-project.git] / clang / test / AST / dynamic-alloc-lvalue.cpp
blob2a426638d0b79307eeac286423dc43e887722787
1 // RUN: %clang_cc1 -emit-pch -o %t %s
3 // Test that serialization/deserialization of a DynamicAllocLValue
4 // variant of APValue does not crash.
6 #ifndef HEADER
7 #define HEADER
9 struct A { int *p; };
10 const A &w = A{ new int(10) };
12 #endif