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