re PR c++/3882 (gcc 3.0 error referencing a variable in its initializer…
re PR c++/3882 (gcc 3.0 error referencing a variable in its initializer expression in template code)
PR c++/3882
* pt.c (tsubst_decl): Move __PRETTY_FUNCTION__ handling...
(tsubst_expr) [DECL_STMT]: ...here. And substitute the initializer
only after recording the declaration.
From-SVN: r50999
Showing
gcc/testsuite/g++.dg/template/decl1.C
0 → 100644
Please
register
or
sign in
to comment