This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2437: [two-stage name lookup] template name binding problem(request for testcase-writing help)
- From: Kriang Lerdsuwanakij <lerdsuwa at users dot sourceforge dot net>
- To: neroden at twcny dot rr dot com, gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc at gcc dot gnu dot org, kenny dot simpson at gs dot dcom, nobody at gcc dot gnu dot org
- Date: Thu, 02 Jan 2003 14:30:03 +0700
- Subject: Re: c++/2437: [two-stage name lookup] template name binding problem(request for testcase-writing help)
- Reply-to: lerdsuwa at users dot sourceforge dot net
Can somebody help me write a testcase? This is a tricky one since the repro
recipe involves scanning asm, and I don't quite understand dejagnu's
facilities for that.
Hi
Just use '{ dg-final { scan-assembler xxx } }' where 'xxx' is
the mangled function name expected in the generated assembler
file. You can look at several testcases such as g++.dg/abi/mangle*.C
as examples.
--Kriang