Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only %s -verify |
Chris Lattner | 0cbc215 | 2008-01-25 00:01:10 +0000 | [diff] [blame] | 2 | |
Chris Lattner | f65086b | 2010-09-01 15:49:26 +0000 | [diff] [blame] | 3 | void a() { // expected-note {{to match this '{'}} |
4 | goto A; // expected-error {{use of undeclared label}} | ||||
Chris Lattner | 0cbc215 | 2008-01-25 00:01:10 +0000 | [diff] [blame] | 5 | // expected-error {{expected '}'}} |