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

6 lines
128 B
Plaintext

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