[Bug testsuite/38241] g++.old-deja/g++.pt/const2.C fails on *-apple-darwin9

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Sun Nov 23 22:22:00 GMT 2008



------- Comment #1 from howarth at nitro dot med dot uc dot edu  2008-11-23 22:20 -------
Is there any documentation available for dg-message? Specifically what is the
purpose of the last digit in...

// { dg-message "i" "" { target *-*-* } 0 }

So far I am not having much luck recrafting a line like...

// { dg-message "Undefined symbols:" "" { target *-*-darwin* } 0 }

or 

// { dg-message "i" "" { target *-*-darwin* } 1 }

to allow the const2.C test to pass on darwin. From the comment in the testcase
of...

// This test should get a linker error for the reference to A<int>::i.

we should be passing this on darwin, no?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38241



More information about the Gcc-bugs mailing list