Commit 6f0623cb by Janis Johnson Committed by Janis Johnson

* g++.dg/other/anon5.C: Don't depend on line number for error message.

From-SVN: r133913
parent 148c1544
2008-04-04 Janis Johnson <janis187@us.ibm.com> 2008-04-04 Janis Johnson <janis187@us.ibm.com>
* g++.dg/other/anon5.C: Don't depend on line number for error message.
* gcc.dg/torture/builtin-modf-1.c: Use special options for * gcc.dg/torture/builtin-modf-1.c: Use special options for
powerpc*-*-linux*. powerpc*-*-linux*.
...@@ -11,7 +11,9 @@ namespace { ...@@ -11,7 +11,9 @@ namespace {
const bool &f() const bool &f()
{ {
return c::t; // { dg-error "undefined" } return c::t; // { dg-error "undefined" "undefined" { target *-*-* } 0 }
// Some targets report the error for the previous line, others
// don't give line number inforamtion for it, so use line 0.
} }
int main(void) int main(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment