mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 11:46:08 +00:00
13 lines
238 B
C++
13 lines
238 B
C++
![]() |
// 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
|