From: Mark Mitchell Date: Sat, 30 Aug 2003 01:43:59 +0000 (+0000) Subject: re PR c++/12093 (inconstitent error with templates/non-templates) X-Git-Tag: releases/gcc-3.4.0~3978 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9872452e03e930a7db26f79d8c38cd5ccbf75aaf;p=thirdparty%2Fgcc.git re PR c++/12093 (inconstitent error with templates/non-templates) PR c++/12093 * g++.dg/template/non-dependent4.C: New test. From-SVN: r70943 --- diff --git a/gcc/testsuite/g++.dg/template/non-dependent4.C b/gcc/testsuite/g++.dg/template/non-dependent4.C new file mode 100644 index 000000000000..637aabae4093 --- /dev/null +++ b/gcc/testsuite/g++.dg/template/non-dependent4.C @@ -0,0 +1,4 @@ +int temp(char *temp); + +template int g() { return temp("Hi"); } +int g1() { return temp("Hi"); }