From: Eric Botcazou Date: Sat, 6 Nov 2004 19:47:09 +0000 (+0100) Subject: * g++.dg/opt/nothrow1.C: Use -42 instead of 42. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8f48325ac79f3237e0cb79613b8db3057cb0bba;p=gcc.git * g++.dg/opt/nothrow1.C: Use -42 instead of 42. From-SVN: r90189 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 41b771c8183..90b6ed8bda7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-11-06 Eric Botcazou + + * g++.dg/opt/nothrow1.C: Use -42 instead of 42. + 2004-11-06 Eric Botcazou * gcc.dg/compat/generate-random.c (generate_random_data unsafe_state): diff --git a/gcc/testsuite/g++.dg/opt/nothrow1.C b/gcc/testsuite/g++.dg/opt/nothrow1.C index fb6c6040408..a2215abc249 100644 --- a/gcc/testsuite/g++.dg/opt/nothrow1.C +++ b/gcc/testsuite/g++.dg/opt/nothrow1.C @@ -16,9 +16,9 @@ int main() } catch (...) { - return 42; + return -42; } } // The catch block should be optimized away. -// { dg-final { scan-tree-dump-times "42" 0 "optimized" } } +// { dg-final { scan-tree-dump-times "-42" 0 "optimized" } }