Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
45d561ad99150cd98bcf5894fadd08f75fb44b08
/
.
/
clang
/
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'}}