1*97e49605SZi Xuan Wu // Check failed cases 2*97e49605SZi Xuan Wu 3*97e49605SZi Xuan Wu // RUN: not %clang -target csky -c %s 2>&1 -mcpu=generic1 | FileCheck -check-prefix=FAIL-MCPU-NAME %s 4*97e49605SZi Xuan Wu // FAIL-MCPU-NAME: error: the clang compiler does not support '-mcpu=generic1' 5*97e49605SZi Xuan Wu 6*97e49605SZi Xuan Wu // RUN: not %clang -target csky -c %s 2>&1 -mcpu=generic -march=ck860 | FileCheck -check-prefix=MISMATCH-ARCH %s 7*97e49605SZi Xuan Wu // MISMATCH-ARCH: error: the clang compiler does not support '-mcpu=generic' 8