repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2003-11-04-EmptyStruct.c
blob
e771b8830070d79e3110a23be47fc51d7021a857
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