| 1 | // REQUIRES: mips-registered-target |
|---|---|
| 2 | // RUN: %clang -### -c -target mips-mti-elf %s -mgpopt 2>&1 | FileCheck -check-prefix=IMPLICIT %s |
| 3 | // IMPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with the implicit usage of -mabicalls |
| 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 |
| 7 |