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 |
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 |