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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [instantiate9.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
 
3
// Copyright (C) 2000 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 22 Nov 2000 
5
 
6
// Bug 789. We ICE'd trying to instantiate B because there was no
7
// existing partial specialization of C in A.
8
 
9
template 
10
struct A {
11
    template 
12
    struct C { };
13
};
14
 
15
template 
16
struct B {
17
   typename A::template C s1;
18
};
19
 
20
int main()
21
{
22
    B b;
23
 
24
    return 0;
25
}

powered by: WebSVN 2.1.0

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