1 /* { dg-do compile } */
2 /* { dg-options "-O -fnon-call-exceptions -fdump-tree-lim-details -w" } */
17 // The expression 1.0 / 0.0 should not be treated as a loop invariant
18 // if it may throw an exception.
19 // { dg-final { scan-tree-dump-times "invariant up to" 0 "lim1" } }
20 // { dg-final { cleanup-tree-dump "lim\[1-2\]" } }