Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / crash39.C
bloba8f70aa30bc9d76cc32ee262444a801917311cf0
1 // { dg-do assemble  }
2 // Origin: Ian Nixon <ian@tharas.com>
4 class Action {
5 public:
6   virtual void action () = 0;
7 };
9 class Var {
10 public:
12   template<class Base> void Add() {
13         struct tmp : public Action {
14           void action () {}
15         };
16         tmp *tp = new tmp; 
17   }