Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
6cef89c48ac509bb1b72a07ab63d201f6bbddbeb
/
.
/
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'}}