hanchenye-llvm-project/clang/test/CodeGenCXX/empty-union.cpp

11 lines
130 B
C++

// RUN: %clang_cc1 -emit-llvm -o - %s
union sigval { };
union sigval sigev_value;
int main()
{
return sizeof(sigev_value);
}