1 // RUN: %clang_cc1 -fsyntax-only -verify %s
f(int)2 void f(int) { } // expected-note {{previous definition is here}}
f(const int)3 void f(const int) { } // expected-error {{redefinition of 'f'}}
4 
ft(T)5 template <typename T> void ft(T) {}
ft(int)6 template <> void ft(int) {} // expected-note {{previous definition is here}}
ft(int)7 template <> void ft(int) {} // expected-error {{redefinition of 'ft<int>'}}
8