[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / mips-gpopt-warning.c
blobb6677413729f26ae2979cd4b1b27991914d82af1
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
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