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
c++: Implement for namespace statics CWG 2867 - Order of initialization for structure...
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr51628-23.c
blob
5709be60ac8a78bf9bdf25b7ea2965cd15bd3d95
1
/* PR c/51628. */
2
/* { dg-do compile } */
3
/* { dg-options "-O -Wno-incompatible-pointer-types" } */
4
5
struct
A
{
6
int
i
;
7
}
__attribute__
((
packed
));
8
9
char
*
f0
(
struct
A
*
p
) {
return
&
p
->
i
; }