Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
comp-goto-6.c
blob: 497f6cd76ca4037eb16b97a8dbdc89ecfabf3271 [
file
] [
log
] [
blame
]
/* PR c/32122 */
/* { dg-do compile } */
/* { dg-options "" } */
void
foo
(
void
*
a
)
{
goto
*
10000000
;
}
/* { dg-error "computed goto must be pointer type" } */
void
foo1
(
void
*
a
)
{
goto
*
a
;
}