Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6f9f03ef370ad48ece0c5d10edda28f39ccadb5d
/
.
/
test
/
Parser
/
cxx-in-c.c
blob: f5fa39bd0cb99b2fd636257afc399ed38a9c4994 [
file
] [
log
] [
blame
]
// 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}}