1 /* Testcase to check generation of a SH2A specific instruction for
2    'MOVRT Rn'.  */
3 /* { dg-do compile { target { sh2a } } }  */
4 /* { dg-options "-O1" }  */
5 /* { dg-final { scan-assembler "movrt" } }  */
6 
7 int
foo(void)8 foo (void)
9 {
10   int a, b, g, stop;
11   if (stop = ((a + b) % 2 != g))
12     ;
13   return stop;
14 }
15