mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
* g++.dg/other/anon5.C: Don't depend on line number for error message.
From-SVN: r133913
This commit is contained in:
committed by
Janis Johnson
parent
148c154438
commit
6f0623cb39
@@ -1,5 +1,7 @@
|
||||
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
|
||||
powerpc*-*-linux*.
|
||||
|
||||
|
||||
@@ -11,7 +11,9 @@ namespace {
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user