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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
overload1.C
blob
10b9f055c09e4d8befb483bdfbba736229167fe2
1
// { dg-do run }
2
template <class T> struct B { };
3
4
template <class T> struct A {
5
template <class U, class V> int operator () (U u, V v);
6
template <class U, class V> void operator () (B<U> u, B<V> v) { }
7
};
8
9
int
10
main ()
11
{
12
A<int> a;
13
B<char> b1;
14
B<short> b2;
15
a (b1, b2);
16
}