1  /* { dg-do compile } */
       2  /* { dg-options "-O2" } */
       3  
       4  void
       5  foo (int x, int *y, int *z)
       6  {
       7    *z = ++x;
       8    if (x != 0)
       9    *y = 1;
      10  }
      11  
      12  /* { dg-final { scan-assembler-not "test" } } */