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