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

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

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/27339
2
 
3
class A
4
{
5
private:
6
  enum private_enum {a};
7
 
8
  template  // OK
9
  struct B
10
  {
11
    void bm();
12
  };
13
public:
14
  void am()
15
  {
16
    B instance; //OK
17
    instance.bm();
18
  }
19
};
20
 
21
template  // FAIL
22
void
23
A::B::bm(){}

powered by: WebSVN 2.1.0

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