Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr35742.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR c/35742 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-std=gnu99" } */ | |
4 /* { dg-bogus "not supported by" "" { target *-*-* } 0 } */ | |
5 | |
6 void | |
7 foo () | |
8 { | |
9 for (;;) | |
10 ({break;})(); /* { dg-error "is not a function" } */ | |
11 for (;;) | |
12 ({continue;})(); /* { dg-error "is not a function" } */ | |
13 } |