llvm-6502/test/CFrontend/2003-11-04-EmptyStruct.c
Chris Lattner 07909a317c new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9817 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-09 00:23:05 +00:00

5 lines
153 B
C

typedef struct { } rwlock_t;
struct fs_struct { rwlock_t lock; int umask; };
void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; }