summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr37529.c
blob: 87361d5c818e13285a2408527cd51c749cc932b6 (plain)
1
2
3
4
5
6
7
8
9
/* PR c/37529 */
/* { dg-do compile } */
/* { dg-options "-std=gnu89" } */

void
foo ()
{
  goto *;	/* { dg-error "expected expression before" } */
}