Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
60d35413662ebdcd1d31e34a8a7c665eb6977f1e
/
.
/
test
/
Sema
/
redefinition.c
blob: 5e7907062311c7f80f55b14bf6daf7f293bf19ea [
file
] [
log
] [
blame
]
// RUN: clang %s -fsyntax-only -verify
int
f
(
int
a
)
{
}
// expected-note {{previous definition is here}}
int
f
(
int
);
int
f
(
int
a
)
{
}
// expected-error {{redefinition of 'f'}}