re PR c++/9778 (ICE with sizeof(expr) in non-type template arg)
authorJeffrey D. Oldham <oldham@codesourcery.com>
Mon, 24 Feb 2003 20:39:38 +0000 (20:39 +0000)
committerJeffrey D. Oldham <oldham@gcc.gnu.org>
Mon, 24 Feb 2003 20:39:38 +0000 (20:39 +0000)
commit8b6a662e3ee24778eb7bf9556cd807e10f996cee
tree59c913d5c09859ce7abc14016d219f38cd7ec3a7
parent57df94c8f6a7bf0a9e0ccf8bf0d81a4d16514a12
re PR c++/9778 (ICE with sizeof(expr) in non-type template arg)

2003-02-24  Jeffrey D. Oldham  <oldham@codesourcery.com>

PR c++/9778
* cp/pt.c (tsubst_copy_and_build): For a templated function inside a
scope, process template arguments.
* testsuite/g++.dg/parse/template6.C: New test case.

From-SVN: r63379
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/parse/template6.C [new file with mode: 0644]