* g++.dg/warn/Wdtor1.C: Declare template in system header with
explicit C++ linkage.
From-SVN: r97955
+2005-04-10 Mark Mitchell <mark@codesourcery.com>
+
+ * g++.dg/warn/Wdtor1.C: Declare template in system header with
+ explicit C++ linkage.
+
2005-04-10 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* gfortran.dg/pr17229.f: Take care of the new obsolescence
# 1 "<command line>"
# 1 "t.cc"
# 1 "include/t.h" 1 3 4
+// Declare the template with explicit C++ linkage in case system
+// headers have implicit C linkage.
+extern "C++" {
template <int> class t
{
virtual void f();
};
+}
# 2 "t.cc" 2
void f(void)