blob: a0aa69858cf17fac43d9cd3c4617dd386faf7dc5 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2
3typedef struct { int foo; } spinlock_t;
4typedef struct wait_queue_head_t { spinlock_t lock; } wait_queue_head_t;
5void call_usermodehelper(void) {
6 struct wait_queue_head_t work = { lock: (spinlock_t) { 0 }, };
7}
8