OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memclass7.C
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
}