[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Parser / cxx-in-c.c
blob034a44cdf12bfac32101b674a4a8f2da9caf7592
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 // PR9137
4 void f0(int x) : {}; // expected-error{{expected function body after function declarator}}
5 void f1(int x) try {}; // expected-error{{expected function body after function declarator}}
7 // GH73559
8 ::; // expected-error{{expected identifier or '('}}