summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr23165.c
blob: 49194a1462d14ef3034ad68bd3efd694f808fcbd (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-Wempty-body" } */
void foo (void)
{
	if (0)
	  a: ; /* { dg-warning "empty body in an" } */


}