☰
Debian Codegraph
@
1:19.1.7-22
1:19.1.7-20
/
/
clang
/
test
/
CodeGen
/
2003-11-04-EmptyStruct.c
☽
☼
clang/test/CodeGen/2003-11-04-EmptyStruct.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -emit-llvm %s -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