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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [cv_func2.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
typedef int ptr1() const; // no error
2
 
3
void foo ()
4
{
5
  typedef int ptr2() const; // no error
6
}
7
 
8
class C
9
{
10
    typedef int ptr3() const;  // error
11
 
12
    void bar ()
13
      {
14
        typedef int ptr4() const; // no error
15
      }
16
};
17
 
18
void wibble () const { } // { dg-error "non-member function" }

powered by: WebSVN 2.1.0

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