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/] [memclass1.C] - Blame information for rev 832

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: Volker Reichelt 
4
 
5
// PR c++/10555: ICE for member class template when one of the
6
// template argument levels contains errors.
7
 
8
template  struct A
9
{
10
    template  struct B;
11
};
12
 
13
template  struct C
14
{
15
    typedef typename A::template B X; // { dg-error "declared|invalid" }
16
};
17
 
18
C c;

powered by: WebSVN 2.1.0

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