New testcase for PR80
authorChris Lattner <sabre@nondot.org>
Tue, 4 Nov 2003 18:52:01 +0000 (18:52 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 4 Nov 2003 18:52:01 +0000 (18:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9699 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2003-11-04-EmptyStruct.c [new file with mode: 0644]

diff --git a/test/CFrontend/2003-11-04-EmptyStruct.c b/test/CFrontend/2003-11-04-EmptyStruct.c
new file mode 100644 (file)
index 0000000..48d089e
--- /dev/null
@@ -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) { }; }
+
+