Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Steve Naroff | c97fb9a | 2009-03-03 00:45:38 +0000 | [diff] [blame] | 2 | |
Chris Lattner | f65086b | 2010-09-01 15:49:26 +0000 | [diff] [blame^] | 3 | - im0 { // expected-note{{to match this '{'}} expected-error{{missing context for method declaration}} |
4 | int a; return 0; | ||||
Steve Naroff | c97fb9a | 2009-03-03 00:45:38 +0000 | [diff] [blame] | 5 | // expected-error{{expected '}'}} |