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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [crash22.C] - Blame information for rev 154

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile }
2
 
3
// Origin: Debian GCC maintainers 
4
//         Volker Reichelt 
5
 
6
// PR c++/16706: Dependent type calculation during access checking
7
 
8
template struct A
9
{
10
    A();
11
    template struct X {};
12
};
13
 
14
template struct B
15
{
16
    typename A::template X x;
17
    template struct C;
18
};
19
 
20
template template struct B::C
21
{
22
    C() {}
23
    A a;
24
};
25
 
26
template struct B::C;

powered by: WebSVN 2.1.0

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