[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-11-20-UnionBitfield.c
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 20 14:58:01 PST 2003
Changes in directory llvm/test/Regression/CFrontend:
2003-11-20-UnionBitfield.c added (r1.1)
---
Log message:
New testcase for PR143
---
Diffs of the changes: (+10 -0)
Index: llvm/test/Regression/CFrontend/2003-11-20-UnionBitfield.c
diff -c /dev/null llvm/test/Regression/CFrontend/2003-11-20-UnionBitfield.c:1.1
*** /dev/null Thu Nov 20 14:57:43 2003
--- llvm/test/Regression/CFrontend/2003-11-20-UnionBitfield.c Thu Nov 20 14:57:33 2003
***************
*** 0 ****
--- 1,10 ----
+ struct printf_spec {
+ unsigned int minus_flag:1;
+ char converter;
+ };
+
+ void parse_doprnt_spec () {
+ struct printf_spec spec;
+ spec.minus_flag = 1;
+ }
+
More information about the llvm-commits
mailing list