llvm-6502/test/CFrontend/2003-11-04-EmptyStruct.c

5 lines
153 B
C
Raw Normal View History

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