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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [scope4.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
// GROUPS passed scoping
3
class BitString {
4
public:
5
    int i;
6
    int length() const;
7
};
8
 
9
typedef BitString BS;
10
 
11
class V {
12
public:
13
    class BitString {
14
    public:
15
        static int x(const ::BitString& value);
16
      static int y(const class ::BitString& value); // should be parsed ok
17
        static int z(const BS& value);
18
    };
19
};
20
 
21
int
22
V::BitString::x(const ::BitString& value)
23
{ return value.length(); }
24
 
25
int
26
V::BitString::y(const class ::BitString& value) // should be parsed ok
27
{ return value.length(); }
28
 
29
int
30
V::BitString::z(const BS& value)
31
{ return value.length(); }

powered by: WebSVN 2.1.0

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