summaryrefslogtreecommitdiff
path: root/test/FrontendC++/2010-06-22-ZeroBitfield.cpp
blob: c979f8d9b9183e98f0a0b9cb1d811925b69e10a1 (plain)
1
2
3
4
5
// 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(); }