1  /* PR target/36473 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -mtune=core2" } */
       4  
       5  extern void foo (void);
       6  
       7  int test(int x, int n)
       8  {
       9    if (x & ( 0x01 << n ))
      10      foo ();
      11  
      12    return 0;
      13  }
      14  
      15  /* { dg-final { scan-assembler "btl\[ \t\]" } } */