repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git]
/
test
/
FrontendC
/
2003-11-04-EmptyStruct.c
blob
b4f37befffa0b9908c84d3f0ffc5760c28f05834
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