summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/static-mem5.C
blob: bbc79afaefebc6d2a59328ed095e7e8d9eb6290d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// { dg-do assemble  }
// { dg-options "-w -fpermissive" }
// 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);
}