c++/2437: [two-stage name lookup] template name binding problem (request for testcase-writing help)

Kriang Lerdsuwanakij lerdsuwa@users.sourceforge.net
Thu Jan 2 07:25:00 GMT 2003


> 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





More information about the Gcc-bugs mailing list