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:
parent
5be4b5c92b
commit
9872452e03
1 changed files with 4 additions and 0 deletions
4
gcc/testsuite/g++.dg/template/non-dependent4.C
Normal file
4
gcc/testsuite/g++.dg/template/non-dependent4.C
Normal file
|
@ -0,0 +1,4 @@
|
|||
int temp(char *temp);
|
||||
|
||||
template <int> int g() { return temp("Hi"); }
|
||||
int g1() { return temp("Hi"); }
|
Loading…
Add table
Reference in a new issue