1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-rtl-pro_and_epilogue" } */
3 
foo(int i)4 void foo(int i)
5 {
6   if (i > 0)
7     /* Non-volatile CR kill on true path should not prevent shrink-wrap.  */
8     asm ("" : : : "cr2", "cr3");
9 }
10 
11 /* { dg-final { scan-rtl-dump-times "Performing shrink-wrapping" 1 "pro_and_epilogue" } } */
12