freebsd-dev/test/CodeGenCXX/class-layout.cpp
2009-10-14 18:03:49 +00:00

6 lines
156 B
C++

// RUN: clang-cc %s -emit-llvm -o %t &&
// An extra byte shoudl be allocated for an empty class.
// RUN: grep '%.truct.A = type { i8 }' %t
struct A { } a;