Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CXX
/
dcl.decl
/
dcl.meaning
/
dcl.fct
/
p3.cpp
blob: ad827fb7b3142f1ca4ac3475fc202766398839a0 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
void
f
(
int
)
{
}
// expected-note {{previous definition is here}}
void
f
(
const
int
)
{
}
// expected-error {{redefinition of 'f'}}