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

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

Line No. Rev Author Line
1 149 jeremybenn
//Origin: benko@sztaki.hu
2
//PR c++/11432
3
// The mainline ICE on this one between 2003-01-16 and 2003-07-29.
4
 
5
// { dg-do compile }
6
 
7
 extern "C" void abort();
8
 
9
 
10
template 
11
struct a
12
{
13
  static int const value = A - 1;
14
};
15
 
16
 
17
template 
18
struct b
19
{
20
  static int foo()
21
  {
22
    return a::value;
23
  }
24
 
25
 
26
  static int const L = a::value;
27
};

powered by: WebSVN 2.1.0

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