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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
deduct4.C
blob
02d6b2c3191b39d4808bc38b933cc6d7e8c89951
1
// { dg-do run }
2
// Test that we can deduce t even though T is deduced from a later argument.
3
4
template <int I> struct A { };
5
6
template <class T, T t> void f (A<t> &, T) { }
7
8
int main ()
9
{
10
A<42> a;
11
f (a, 24);
12
}