OSDN Git Service

Pizza-lize :-)
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / pr47218.C
1 /* { dg-do link } */
2 /* { dg-options "-save-temps" } */
3 /* { dg-additional-sources "pr47218-1.C" } */
4
5 #include "pr47218.h"
6
7 Foo3::~Foo3 ()
8 {
9   ((FooBaseBase1*)this)->Bar();
10 }
11
12 void Foo3::Bar()
13 {
14 }
15
16 int main ()
17 {
18   return 0;
19 }
20
21 // { dg-final { cleanup-saved-temps } }