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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memclass7.C
blob
ec9c58cc09aaad4ab4c87e03812cbaeb82c63d1c
1
// { dg-do run }
2
// { dg-options "-ansi -pedantic-errors -w" }
3
struct S
4
{
5
template <class U>
6
struct Y {
7
template <class T>
8
void foo(T t);
9
};
10
};
11
12
template <>
13
template <>
14
void S::Y<char>::foo<int>(int i) { }
15
16
int main()
17
{
18
S::Y<char> s;
19
s.foo<int>(3.0);
20
}