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

// RUN: %clang -### -c -target mips-mti-elf %s -mgpopt -mabicalls 2>&1 | FileCheck -check-prefix=EXPLICIT %s
// EXPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with -mabicalls

Add warning test for -mgpopt option.
[mips] Add warning test for -mgpopt option.


git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@308432 91177308-0d34-0410-b5e6-96231b3b80d8
