summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/asmgoto-3.c
blob: 5224429a3ce3fe3f5e2b1b842629917fdaf1d513 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-Wunused" } */

int foo ()
{
  asm goto ("" : : : : label);
  return 1;
 label:
  return 0;
}