Debian Codegraph @

clang/test/AST/dynamic-alloc-lvalue.cpp

raw
1 // RUN: %clang_cc1 -emit-pch -o %t %s
2
3 // Test that serialization/deserialization of a DynamicAllocLValue
4 // variant of APValue does not crash.
5
6 #ifndef HEADER
7 #define HEADER
8
9 struct A { int *p; };
10 const A &w = A{ new int(10) };
11
12 #endif