]>
Commit | Line | Data |
---|---|---|
04a63c24 L |
1 | /* { dg-do compile { target *-*-linux* } } */ |
2 | /* { dg-options "-O2" } */ | |
3 | ||
4 | int | |
5 | f (int (**p) (void)) | |
6 | { | |
7 | return p[1](); | |
8 | } | |
9 | ||
4e395d91 UB |
10 | /* { dg-final { scan-assembler "jmp\[ \t\].*\\(%rdi\\)" { target lp64 } } } */ |
11 | /* { dg-final { scan-assembler "jmp\[ \t\]\\*%rax" { target x32 } } } */ |