summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb90.C
blob: 06232411208990b77036d2774a7e5a84bf030869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// { dg-do assemble  }
// { dg-options "-O2" }

#ifdef HIDE_BUG
#define realloc Realloc
#endif

class TmpRgn {
public:
     void
   realloc();
};

class TmpActor {
    TmpRgn      tmpRgn;

public:
      void
      realloc() {
          tmpRgn.realloc();
      }
};