mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-11 06:38:20 +00:00
New testcase for PR80
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9699 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
5
test/CFrontend/2003-11-04-EmptyStruct.c
Normal file
5
test/CFrontend/2003-11-04-EmptyStruct.c
Normal file
@ -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) { }; }
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user