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