brintos

brintos / llvm-project-archived public Read only

0
0
Text · 238 B · 2a42663 Raw
13 lines · cpp
1// RUN: %clang_cc1 -emit-pch -o %t %s2 3// Test that serialization/deserialization of a DynamicAllocLValue4// variant of APValue does not crash.5 6#ifndef HEADER7#define HEADER8 9struct A {  int *p; };10const A &w = A{ new int(10) };11 12#endif13