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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [template/] [dependent-expr6.C] - Blame information for rev 315

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

Line No. Rev Author Line
1 301 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.