llvm-mirror/test/Regression/CFrontend/2003-11-01-C99-CompoundLiteral.c
Chris Lattner 74d605f0aa new testcase, for PR 81
llvm-svn: 9644
2003-11-02 00:22:27 +00:00

7 lines
216 B
C

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 }, };
}