summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp
blob: c2f37f740549d72c25a8d75aa6a38a853ff9cd69 (about) (plain)
1
2
3
4
5
// RUN: %clang_cc1 -emit-llvm -g %s -o -
struct s8_0 { unsigned : 0; };
struct s8_1 { double x; };
struct s8 { s8_0 a; s8_1 b; };
s8 f8() { return s8(); }