repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2014-08-04 Ed Schonberg <schonberg@adacore.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20060410.c
blob
88253bb43f3e4441793944d2f071dd9f24ed0d35
1
/* { dg-do compile } */
2
/* { dg-options "-g" } */
3
4
/* Make sure we didn't eliminate foo because we thought it was unused. */
5
6
struct
foo
7
{
8
int
i
;
9
};
10
11
int
bar
(
void
)
12
{
13
return
((
struct
foo
*)
0x1234
)->
i
;
14
}
15
16
/* { dg-final { scan-assembler "foo" } } */