1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 int main() { // expected-note {{to match this '{'}}
4 auto a
= [](void)__attribute__((b(({ // expected-note {{to match this '('}}
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 '}'}}