blob: 848a5bfce52020c2fffab3b7333ef78cd11dc579 [file] [log] [blame]
Simon Atanasyan3306e3a2017-08-10 15:42:16 +00001// 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 Atanasyanc7170412017-08-10 15:42:31 +00004
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