| Douglas Gregor | 26f4b32 | 2012-02-09 01:02:27 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -verify %s |
| Douglas Gregor | db0b9f1 | 2011-08-04 15:30:47 +0000 | [diff] [blame] | 2 | |
| 3 | int main() { | ||||
| 4 | []{}; // expected-error {{expected expression}} | ||||
| 5 | } | ||||