* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-base4.C
blobab664394e5e4447bdd137ccdab54f43ebcc81291
1 // PR c++/46626
2 // { dg-do run { target c++11 } }
4 struct A
6   virtual void f () = 0;
7   virtual ~A () { }
8 };
10 struct B : A
12   virtual void f () { }
15 static void
16 foo (A *a)
18   a->f ();
21 int
22 main ()
24   B b;
25   foo (&b);
26   return 0;