projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix PR4815: some cases where DeleteDeadInstruction can delete
[oota-llvm.git]
/
test
/
FrontendC
/
2003-11-04-EmptyStruct.c
1
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2
3
typedef struct { } rwlock_t;
4
struct fs_struct { rwlock_t lock; int umask; };
5
void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; }
6