xref: /llvm-project/clang/test/CodeGenCXX/class-layout.cpp (revision cabdeb49323872c5442c60410ea7f194c7ff9139)
1 // RUN: clang-cc %s -emit-llvm -o %t &&
2 
3 // An extra byte shoudl be allocated for an empty class.
4 // RUN: grep '%.truct.A = type { i8 }' %t
5 struct A { } a;
6