repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
2003-11-02-WeakLinkage.cpp
blob
02f9fc6e911de4ea88f010f4d9f6438f1f1412a2
1
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
// The template should compile to linkonce linkage, not weak linkage.
3
4
// CHECK-NOT: weak
5
template
<
class
T
>
6
void
thefunc
();
7
8
template
<
class
T
>
9
inline
void
thefunc
() {}
10
11
void
test
() {
12
thefunc
<
int
>();
13
}