rename -parse-ast-dump to -ast-dump remove -parse-ast, which is redundant with -fsyntax-only llvm-svn: 42852
11 lines
229 B
C
11 lines
229 B
C
// RUN: clang -fsyntax-only -verify %s
|
|
|
|
void f (int z) {
|
|
switch(z) {
|
|
default: // expected-error {{first label is here}}
|
|
default: // expected-error {{multiple default labels in one switch}}
|
|
break;
|
|
}
|
|
}
|
|
|