Simon Atanasyan | 3306e3a | 2017-08-10 15:42:16 +0000 | [diff] [blame] | 1 | // REQUIRES: mips-registered-target |
| 2 | // RUN: %clang -### -c -target mips64-mti-elf -fno-PIC -mabicalls %s 2>&1 | FileCheck %s |
| 3 | // CHECK: warning: ignoring '-mabicalls' option as it cannot be used with non position-independent code and the N64 ABI |
Simon Atanasyan | c717041 | 2017-08-10 15:42:31 +0000 | [diff] [blame^] | 4 | |
| 5 | // RUN: %clang -### -c -target mips-mti-elf -mlong-calls %s 2>&1 | FileCheck -check-prefix=LONGCALL-IMP %s |
| 6 | // LONGCALL-IMP: warning: ignoring '-mlong-calls' option as it is not currently supported with the implicit usage of -mabicalls |
| 7 | |
| 8 | // RUN: %clang -### -c -target mips-mti-elf -mlong-calls -mabicalls %s 2>&1 | FileCheck -check-prefix=LONGCALL-EXP %s |
| 9 | // LONGCALL-EXP: warning: ignoring '-mlong-calls' option as it is not currently supported with -mabicalls |