1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-require-effective-target maybe_x32 } */
3 /* { dg-options "-O2 -mx32 -maddress-mode=short" } */
4 
5 extern char array[40];
6 
foo(long long position)7 char foo (long long position)
8 {
9   return array[position + 1];
10 }
11 
12 /* { dg-final { scan-assembler-not "add\[lq\]?\[^\n\]*1" } } */
13