Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / warn / Wdtor1.C
blob34c8a7edcada3dd8ec980f5ca25b80c71aca7802
1 // PR c++/20145
2 // { dg-options "-Wnon-virtual-dtor" }
3 # 1 "t.cc"
4 # 1 "<built-in>"
5 # 1 "<command line>"
6 # 1 "t.cc"
7 # 1 "include/t.h" 1 3 4
8 // Declare the template with explicit C++ linkage in case system
9 // headers have implicit C linkage.
10 extern "C++" {
11 template <int> class t
13   virtual void f();
16 # 2 "t.cc" 2
18 void f(void)
20   t<1> h;