2011-02-04 19:59:47 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2011-02-04 19:57:16 +08:00
|
|
|
|
|
|
|
// PR9137
|
2011-02-04 19:59:47 +08:00
|
|
|
void f0(int x) : {}; // expected-error{{expected function body after function declarator}}
|
|
|
|
void f1(int x) try {}; // expected-error{{expected function body after function declarator}}
|