[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Parser / goto.c
blobf34e7e21f60c177b9489b598759802f007cfef54
1 /* RUN: %clang_cc1 -fsyntax-only -verify %s
2 */
4 void test1(void) {
5 goto ; /* expected-error {{expected identifier}} */
9 void test2(void) {
10 l: /* expected-note {{previous definition is here}} */
13 __label__ l;
14 l: goto l;
18 __label__ l;
19 __label__ h; /* expected-error {{use of undeclared label 'h'}} */
20 l: goto l;
23 /* PR3429 & rdar://8287027
26 l: /* expected-error {{redefinition of label 'l'}} */