OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [ttp55.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
 
3
// Testing overloading of function argument involving template template
4
// parameters
5
 
6
// Reported by Thomus Kunert 
7
 
8
template
9
class H{};
10
 
11
template 
12
void f( const T& ){}                      // #1
13
 
14
template< template class X,
15
        class A, class B>
16
void f( const X & x )                // #2
17
{}
18
 
19
int main()
20
{
21
    H h;
22
    f(h);                                 // #3
23
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.