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
/
2005-03-06-OffsetOfStructCrash.c
blob
91e686280233fa611cbcf6782f481309ed103d87
1
// RUN: %llvmgcc %s -S -o -
2
3
struct
Y
{};
4
struct
XXX
{
5
struct
Y F
;
6
};
7
8
void
test1
() {
9
(
int
)&((
struct
XXX
*)(((
void
*)
0
)))->
F
;
10
}
11
12
void
test2
() {
13
&((
struct
XXX
*)(((
void
*)
0
)))->
F
;
14
}