llvm-6502/test/FrontendC++/2010-06-22-ZeroBitfield.cpp
2010-06-23 00:31:14 +00:00

6 lines
140 B
C++

// RUN: %llvmgxx -g -c %s
struct s8_0 { unsigned : 0; };
struct s8_1 { double x; };
struct s8 { s8_0 a; s8_1 b; };
s8 f8() { return s8(); }