1*67e74705SXin Li// Check if -cc1as knows about the 'target-abi' argument. 2*67e74705SXin Li// REQUIRES: mips-registered-target 3*67e74705SXin Li 4*67e74705SXin Li// RUN: %clang -cc1as -triple mips--linux-gnu -filetype obj -target-cpu mips32 -target-abi o32 %s 2>&1 | \ 5*67e74705SXin Li// RUN: FileCheck %s 6*67e74705SXin Li// CHECK-NOT: clang -cc1as: error: unknown argument: '-target-abi' 7