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