* g++.dg/opt/nothrow1.C: Use -42 instead of 42.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Sat, 6 Nov 2004 19:47:09 +0000 (20:47 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 6 Nov 2004 19:47:09 +0000 (19:47 +0000)
From-SVN: r90189

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/nothrow1.C

index 41b771c..90b6ed8 100644 (file)
@@ -1,5 +1,9 @@
 2004-11-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
+       * g++.dg/opt/nothrow1.C: Use -42 instead of 42.
+
+2004-11-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
        * gcc.dg/compat/generate-random.c (generate_random_data unsafe_state):
        Do not use C99 designators.
 
index fb6c604..a2215ab 100644 (file)
@@ -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" } }