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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
c11-labels-1.c
blob
6350403bf3880d03eb70bf41d9af0dbde7cd978a
1
/* Tests for labels before declarations and at ends of compound statements. */
2
/* { dg-do compile } */
3
/* { dg-options "-std=c11" } */
4
5
int
f
(
int
x
)
6
{
7
goto
b
;
8
a
:
int
i
=
2
*
x
;
9
goto
c
;
10
b
:
goto
a
;
11
{
i
*=
3
;
c
: }
12
return
i
;
13
d
:
14
}
15