[cfe-commits] r137768 - /cfe/trunk/test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp

Eric Christopher echristo at apple.com
Tue Aug 16 14:41:44 PDT 2011


Author: echristo
Date: Tue Aug 16 16:41:44 2011
New Revision: 137768

URL: http://llvm.org/viewvc/llvm-project?rev=137768&view=rev
Log:
Migrate from llvm/test/FrontendC++.

Added:
    cfe/trunk/test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp

Added: cfe/trunk/test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp?rev=137768&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp (added)
+++ cfe/trunk/test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp Tue Aug 16 16:41:44 2011
@@ -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(); }





More information about the cfe-commits mailing list