| 1 |
// { dg-do assemble } |
| 2 |
// { dg-options "-O2" } |
| 3 |
|
| 4 |
#ifdef HIDE_BUG |
| 5 |
#define realloc Realloc |
| 6 |
#endif |
| 7 |
|
| 8 |
class TmpRgn { |
| 9 |
public: |
| 10 |
void |
| 11 |
realloc(); |
| 12 |
}; |
| 13 |
|
| 14 |
class TmpActor { |
| 15 |
TmpRgn tmpRgn; |
| 16 |
|
| 17 |
public: |
| 18 |
void |
| 19 |
realloc() { |
| 20 |
tmpRgn.realloc(); |
| 21 |
} |
| 22 |
}; |