re PR c++/12093 (inconstitent error with templates/non-templates)

PR c++/12093
	* g++.dg/template/non-dependent4.C: New test.

From-SVN: r70943
This commit is contained in:
Mark Mitchell 2003-08-30 01:43:59 +00:00
parent 5be4b5c92b
commit 9872452e03
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
int temp(char *temp);
template <int> int g() { return temp("Hi"); }
int g1() { return temp("Hi"); }