clang/test/Driver/mips-gpopt-warning.c
raw| 1 | // RUN: %clang -### -c --target=mips-mti-elf %s -mgpopt 2>&1 | FileCheck -check-prefix=IMPLICIT %s |
| 2 | // IMPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with the implicit usage of -mabicalls |
| 3 | |
| 4 | // RUN: %clang -### -c --target=mips-mti-elf %s -mgpopt -mabicalls 2>&1 | FileCheck -check-prefix=EXPLICIT %s |
| 5 | // EXPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with -mabicalls |