Simon Dardis | 31636a1 | 2017-07-20 14:04:12 +0000 | [diff] [blame] | 1 | // REQUIRES: mips-registered-target |
| 2 | // RUN: %clang -### -c -target mips-mti-elf %s -mgpopt 2>&1 | FileCheck -check-prefix=IMPLICIT %s |
Simon Atanasyan | 01fd402 | 2017-08-04 08:25:15 +0000 | [diff] [blame] | 3 | // IMPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with the implicit usage of -mabicalls |
Simon Dardis | 31636a1 | 2017-07-20 14:04:12 +0000 | [diff] [blame] | 4 | |
| 5 | // RUN: %clang -### -c -target mips-mti-elf %s -mgpopt -mabicalls 2>&1 | FileCheck -check-prefix=EXPLICIT %s |
| 6 | // EXPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with -mabicalls |