Commit a8f48325 by Eric Botcazou Committed by Eric Botcazou

* g++.dg/opt/nothrow1.C: Use -42 instead of 42.

From-SVN: r90189
parent cd27e3d8
2004-11-06 Eric Botcazou <ebotcazou@libertysurf.fr> 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): * gcc.dg/compat/generate-random.c (generate_random_data unsafe_state):
Do not use C99 designators. Do not use C99 designators.
......
...@@ -16,9 +16,9 @@ int main() ...@@ -16,9 +16,9 @@ int main()
} }
catch (...) catch (...)
{ {
return 42; return -42;
} }
} }
// The catch block should be optimized away. // 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" } }
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