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
PR rtl-optimization/88018
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
Wimplicit-fallthrough-34.c
blob
e0b5350f2e64da6c77549b8733270b161f6d0bdd
1
/* PR c/77946 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target indirect_jumps } */
4
/* { dg-options "-Wimplicit-fallthrough" } */
5
6
void
7
foo
(
void
)
8
{
9
static void
*
p
= &&
lab
;
10
goto
*
p
;
11
/*FALLTHRU*/
12
lab
:;
13
}