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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [crash1.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
// Copyright (C) 2003 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 25 Aug 2003 
5
// Origin pr 11871 Dirk Mueller 
6
 
7
// PR c++/11871 Regression
8
 
9
namespace std
10
{
11
  class A
12
  {
13
  public:
14
    enum result
15
    {
16
      ok
17
    };
18
  };
19
 
20
  template class B : public A
21
    {
22
    public:
23
      typedef A::result result;
24
    };
25
}
26
 
27
int main()
28
{
29
  for(float result = 1.0;;);
30
}
31
 

powered by: WebSVN 2.1.0

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