projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make the llvm-runtest function much more amenable by eliminating all the
[oota-llvm.git]
/
test
/
CFrontend
/
2003-11-04-EmptyStruct.c
1
// RUN: %llvmgcc -S %s -o - | llvm-as -f -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