llvm-project/clang/test/Parser/objcxx-lambda-expressions-n...

6 lines
110 B
Plaintext

// RUN: %clang_cc1 -fsyntax-only -verify %s
int main() {
[]{}; // expected-error {{expected expression}}
}