aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/operators19.C
blob: 375604111519ace070eb2e8d3d5a777cc50c3e69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Build don't link: 
// GROUPS passed operators
// opr-ampr file
// From: Jarkko Sonninen <Jarkko.Sonninen@lut.fi>
// Date:     Thu, 7 Oct 1993 08:25:26 +0200
// Subject:  type of base class member
// Message-ID: <199310070625.AA18653@kaisa.it.lut.fi>

class A {
  public:
    int j;
};

class B: public A {
  public:
    B () {
        !(A::j);
    };
};