OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f97ef814763e5ea28b171b7c3a60045a0a2fd0ed
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
visibility22.C
1
// { dg-do assemble }
2
// GROUPS passed visibility
3
// visibility file
4
// From: Robert Carden <carden@thoth.ics.uci.edu>
5
// Date: Thu, 12 Aug 1993 13:48:05 -0700
6
// Subject: bug 8/12/93 -- #5
7
// Message-ID: <9308121348.aa26256@Paris.ics.uci.edu>
8
9
// 5.cc
10
#include <iostream>
11
12
class A {
13
int x;
14
public:
15
void f(int);
16
void f(float);
17
void g(void *);
18
};
19
20
class B : private A {
21
protected:
22
A::f;
23
public:
24
A::g;
25
};