blob: 7affe1d680b5170d7307fb4f4f6457208b72134c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O2" } */
int
f (int (**p) (void))
{
return p[1]();
}
/* { dg-final { scan-assembler "jmp\[ \t\].*\\(%rdi\\)" { target lp64 } } } */
/* { dg-final { scan-assembler "jmp\[ \t\]\\*%rax" { target x32 } } } */
|