blob: 415d634d5f98cd9cad5257f9da9d51bd9eef96a6 [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'}}
template <typename T> void ft(T) {}
template <> void ft(int) {} // expected-note {{previous definition is here}}
template <> void ft(int) {} // expected-error {{redefinition of 'ft<int>'}}