Debian Codegraph @

clang/test/Parser/gh48527.cpp

raw
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2
3 int main() { // expected-note {{to match this '{'}}
4 auto a = [](void)__attribute__((b(({ // expected-note {{to match this '('}}
5 return 0;
6 } // expected-error 3 {{expected ')'}} \
7 // expected-error {{expected ';' at end of declaration}}
8 // expected-error@+2 {{expected ')'}}
9 // expected-error@+1 {{expected body of lambda expression}}
10 // expected-error {{expected '}'}}