Douglas Gregor | 022915b | 2011-02-04 11:59:47 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Douglas Gregor | 758afbc | 2011-02-04 11:57:16 +0000 | [diff] [blame] | 2 | |
3 | // PR9137 | ||||
Douglas Gregor | 022915b | 2011-02-04 11:59:47 +0000 | [diff] [blame] | 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}} |