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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [ttp13.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
 
3
// Origin: Wolfgang Bangerth 
4
 
5
// PR c++/15664: Template substitution of template template parameter
6
 
7
template  struct S {
8
    template class A>
9
    friend void foo();
10
};
11
 
12
template class A>
13
void foo();
14
 
15
template  struct X {};
16
 
17
int main () {
18
  S<1> s;
19
  foo();
20
}

powered by: WebSVN 2.1.0

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