[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / 2003-11-02-WeakLinkage.cpp
blob02f9fc6e911de4ea88f010f4d9f6438f1f1412a2
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2 // The template should compile to linkonce linkage, not weak linkage.
4 // CHECK-NOT: weak
5 template<class T>
6 void thefunc();
8 template<class T>
9 inline void thefunc() {}
11 void test() {
12 thefunc<int>();