YouCompleteMe/cpp/llvm/tools/clang/test/Parser/objcxx-lambda-expressions-neg.mm

6 lines
128 B
Plaintext
Raw Normal View History

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