aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/static-mem5.C
blob: 2ce0df16f3e1457143183a959af6ea3c2a4dec4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Build don't link: 
// Special g++ Options: -w
// GROUPS passed static-mem
// static-mem file
// From: bunch@tazboy.jpl.nasa.gov (Walt Bunch)
// Date:     Thu, 23 Jun 94 14:58:35 UNI
// Subject:  bug report
// Message-ID: <9406232258.AA03897@tazboy.JPL.NASA.GOV>


class A
{
public:
  static void F (int i) {}
  static void A::G (int i) {}
};

main ()
{
  A::F (17);
  A::G (42);
}