From: Jason Merrill Date: Thu, 4 Apr 2002 00:39:22 +0000 (-0500) Subject: re PR c++/5118 (c4x-g++ Fails on Templates) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb81f6ff2831e13915357daf193fd59f9bee5a01;p=gcc.git re PR c++/5118 (c4x-g++ Fails on Templates) PR c++/5118 * class.c (get_vfield_name): Use the constructor_name. From-SVN: r51830 --- diff --git a/gcc/testsuite/g++.dg/debug/template1.C b/gcc/testsuite/g++.dg/debug/template1.C new file mode 100644 index 00000000000..279b4b17337 --- /dev/null +++ b/gcc/testsuite/g++.dg/debug/template1.C @@ -0,0 +1,15 @@ +// PR c++/5118 + +template +class d +{ +public: + d() + { + myInt = Count; + } + int myInt; + virtual ~d() {} +}; + +volatile d<5> instD;