aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/visibility8.C
blob: 3e5178c6c0121a1a053de0d024554d254b2c63bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Build don't link: 
// GROUPS passed visibility
// visibility file
// From: roland@jts.com (Roland Knight )
// Date:     Thu, 29 Apr 1993 16:17:00 -0400
// Subject:  gcc 2.3.3 bug
// Message-ID: <m0nof3E-0021ifC@jts.com
class t1 {
protected:
    int a;
};


class t2 : private t1 {
public:
    int b;
};


class t3 : public t2 {
public:
    int ttt();
};


int t3::ttt() { return a; }// ERROR - .*