[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CXX / dcl.decl / dcl.meaning / dcl.fct / p3.cpp
blob415d634d5f98cd9cad5257f9da9d51bd9eef96a6
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 void f(int) { } // expected-note {{previous definition is here}}
3 void f(const int) { } // expected-error {{redefinition of 'f'}}
5 template <typename T> void ft(T) {}
6 template <> void ft(int) {} // expected-note {{previous definition is here}}
7 template <> void ft(int) {} // expected-error {{redefinition of 'ft<int>'}}