1*67e74705SXin Li // RUN: not clang-check "%s" -- -no-integrated-as -c 2>&1 | FileCheck %s 2*67e74705SXin Li // The following test uses multiple time the same '-no-integrated-as' flag in order to make sure those flags are really skipped, and not just overwritten by luck : 3*67e74705SXin Li // RUN: not clang-check "%s" -- -target x86_64-win32 -c -no-integrated-as -no-integrated-as -no-integrated-as 2>&1 | FileCheck %s 4*67e74705SXin Li 5*67e74705SXin Li // CHECK: C++ requires 6*67e74705SXin Li invalid; 7