llvm-for-llvmta/tools/clang/test/CodeGenCXX/empty-union.cpp

8 lines
142 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm -o - %s
union sigval { };
union sigval Test1;
union NonPODUnion { ~NonPODUnion(); };
union NonPODUnion Test2;