blob: b4f37befffa0b9908c84d3f0ffc5760c28f05834 [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 { } rwlock_t;
4struct fs_struct { rwlock_t lock; int umask; };
5void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; }
6