commit | 3f98c99b07aaf43daa057b9769fffc4713bcbc2e | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@apple.com> | Tue Aug 16 21:41:44 2011 +0000 |
committer | Eric Christopher <echristo@apple.com> | Tue Aug 16 21:41:44 2011 +0000 |
tree | e07e3ad303d6e95366292c2b2a7468ec2b60bc4f | |
parent | 82da54d8721bc8b1f6a92baf3b408b89ee410a10 [diff] [blame] |
Migrate from llvm/test/FrontendC++. llvm-svn: 137768
diff --git a/clang/test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp b/clang/test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp new file mode 100644 index 0000000..c2f37f7 --- /dev/null +++ b/clang/test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp
@@ -0,0 +1,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(); }