Anders Carlsson | c1fcb77 | 2007-07-22 07:07:56 +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 |