diff options
Diffstat (limited to 'test/FrontendC++/2010-06-22-ZeroBitfield.cpp')
-rw-r--r-- | test/FrontendC++/2010-06-22-ZeroBitfield.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/FrontendC++/2010-06-22-ZeroBitfield.cpp b/test/FrontendC++/2010-06-22-ZeroBitfield.cpp new file mode 100644 index 0000000..c979f8d --- /dev/null +++ b/test/FrontendC++/2010-06-22-ZeroBitfield.cpp @@ -0,0 +1,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(); } |