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-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
struct-semi-4.c
blob
6f4dc7c0a7fe6d01914936e5c3d4fb4df1e15571
1
/* Test for missing semicolons in structures: anonymous structures and
2
similar cases. */
3
/* { dg-do compile } */
4
/* { dg-options "" } */
5
6
struct
s
{
struct
{
int
a
; } };
/* { dg-warning "no semicolon" } */
7
int
*
f
(
struct
s
*
p
) {
return
&
p
->
a
; }