diff options
-rw-r--r-- | test/CFrontend/2003-11-04-EmptyStruct.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CFrontend/2003-11-04-EmptyStruct.c b/test/CFrontend/2003-11-04-EmptyStruct.c new file mode 100644 index 0000000000..48d089e247 --- /dev/null +++ b/test/CFrontend/2003-11-04-EmptyStruct.c @@ -0,0 +1,5 @@ +typedef struct { } rwlock_t; +struct fs_struct { rwlock_t lock; int umask; }; +void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; } + + |