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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [dependent-expr6.C] - Blame information for rev 696

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
 
3
// Copyright 2007 Free Software Foundation
4
// Contributed by Andreas Krebbel 
5
 
6
// PR C++ 34081 ICE
7
 
8
class Foo;
9
 
10
template < class Foo > class Bar
11
{
12
  enum Status
13
  { OK, NO };
14
 
15
  enum Status getStatus ()
16
  {
17
    return status;
18
  }
19
 
20
  Status status;
21
};

powered by: WebSVN 2.1.0

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