summaryrefslogtreecommitdiff
path: root/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p3.cpp
blob: ad827fb7b3142f1ca4ac3475fc202766398839a0 (about) (plain)
1
2
3
// 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'}}