YouCompleteMe/cpp/llvm/tools/clang/test/CodeGenCXX/empty-union.cpp

8 lines
142 B
C++
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm -o - %s
union sigval { };
union sigval Test1;
union NonPODUnion { ~NonPODUnion(); };
union NonPODUnion Test2;