This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]