☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
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