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
2015-09-24 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr47621.c
blob
882e67f08e404c65157b5aa0bd78991653b2fde2
1
/* { dg-do run } */
2
3
extern
void
abort
(
void
);
4
5
int
6
main
(
void
)
7
{
8
int
data
=
1
;
9
struct
ptr
{
int
val
; } *
ptr
= (
struct
ptr
*) &
data
;
10
ptr
->
val
=
0
;
11
if
(
data
!=
0
)
12
abort
();
13
return
0
;
14
}