blob: 2912c97c546a7b091e610cc49838f90f3f864545 [file] [log] [blame]
Dan Gohmanfea1dd02009-08-25 15:38:29 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
Tanya Lattnere9af5d12004-11-06 22:41:00 +00002
Chris Lattnera1b82c32003-11-02 00:22:27 +00003typedef 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