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
/
2008-08-07-GEPIntToPtr.c
blob
3ef3b66b88f8304f3dac902d016674041dafa7d3
1
// RUN: %llvmgcc -S %s -o - | grep {i8 1}
2
// PR2603
3
4
struct
A
{
5
char
num_fields
;
6
};
7
8
struct
B
{
9
char
a
,
b
[
1
];
10
};
11
12
const struct
A Foo
= {
13
(
char
*)(&( (
struct
B
*)(
16
) )->
b
[
0
]) - (
char
*)(
16
)
14
};