[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-11-01-C99-CompoundLiteral.c
Chris Lattner
lattner at cs.uiuc.edu
Sat Nov 1 18:23:01 PST 2003
Changes in directory llvm/test/Regression/CFrontend:
2003-11-01-C99-CompoundLiteral.c added (r1.1)
---
Log message:
new testcase, for PR 81
---
Diffs of the changes: (+6 -0)
Index: llvm/test/Regression/CFrontend/2003-11-01-C99-CompoundLiteral.c
diff -c /dev/null llvm/test/Regression/CFrontend/2003-11-01-C99-CompoundLiteral.c:1.1
*** /dev/null Sat Nov 1 18:22:37 2003
--- llvm/test/Regression/CFrontend/2003-11-01-C99-CompoundLiteral.c Sat Nov 1 18:22:27 2003
***************
*** 0 ****
--- 1,6 ----
+ typedef struct { int foo; } spinlock_t;
+ typedef struct wait_queue_head_t { spinlock_t lock; } wait_queue_head_t;
+ void call_usermodehelper(void) {
+ struct wait_queue_head_t work = { lock: (spinlock_t) { 0 }, };
+ }
+
More information about the llvm-commits
mailing list