1  /* Verify that rmw instructions supported */
       2  /* { dg-do assemble } */
       3  
       4  int main()
       5  {
       6    #ifdef __AVR_ISA_RMW__
       7      __asm("xch Z, r12");
       8      __asm("las Z, r12");
       9      __asm("lac Z, r12");
      10      __asm("lat Z, r12");
      11    #endif
      12    return 0;
      13  }