blob: 2912c97c546a7b091e610cc49838f90f3f864545 [file] [log] [blame]
Dan Gohman2d65d352009-08-25 15:38:29 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
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