repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec13.C
blob
f2a3a373ed76c57e7525c786057052c606cabb7b
1
// { dg-options "-w" }
2
3
template <typename T>
4
struct S {
5
int i;
6
template <typename U> void f(U) {}
7
};
8
9
template<>
10
template <typename U>
11
void S<int>::f(U) { i; }
12
13
void f() {
14
S<int> s;
15
s.f<int>(3);
16
}