summaryrefslogtreecommitdiff
path: root/clang/test/Parser/objcxx-lambda-expressions-neg.mm
blob: 7cdb1a292e4097807ec76f853fae47d8fe217f40 (about) (plain)
1
2
3
4
5
// RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -verify %s

int main() {
  []{}; // expected-error {{expected expression}}
}