repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec3.C
blob
d3fa401b52e57e07487b47cc25fc179c8091613e
1
// PR c++/3870
2
// Test that performing a type instantiation in order to match up a
3
// specialization doesn't clobber last_function_parms.
4
5
template <class T>
6
struct A { typedef int I; };
7
8
template <class T>
9
inline typename T::I
10
foo (typename T::I, const T*);
11
12
template <>
13
int foo (int i, const A<long>*)
14
{
15
return i + 1;
16
}