clang/test/Parser/cxx-in-c.c
raw| 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
| 2 | |
| 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}} |
| 6 | |
| 7 | // GH73559 |
| 8 | ::; // expected-error{{expected identifier or '('}} |