summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/empty-union.cpp
blob: 7f3e6ccf50ad8a16ccaa08e0ef2f8de20b72d697 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -emit-llvm -o - %s

union sigval { };
union sigval Test1;

union NonPODUnion { ~NonPODUnion(); };
union NonPODUnion Test2;