Chris Lattner | 4b00965 | 2007-07-25 00:24:17 +0000 | [diff] [blame^] | 1 | // RUN: clang -parse-ast-check %s |
2 | |||||
3 | void f (int z) { | ||||
4 | switch(z) { | ||||
5 | default: // expected-error {{first label is here}} | ||||
6 | default: // expected-error {{multiple default labels in one switch}} | ||||
7 | break; | ||||
8 | } | ||||
9 | } | ||||
10 |