YouCompleteMe/cpp/llvm/tools/clang/test/Parser/cxx-in-c.c

6 lines
239 B
C
Raw Normal View History

// RUN: %clang_cc1 -fsyntax-only -verify %s
// PR9137
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}}