1 ! RUN: not %flang -### -c --target=powerpc64le-unknown-linux -mabi=vec-extabi %s 2>&1 | FileCheck --check-prefix=INVALID1 %s
2 ! RUN: not %flang -### -c --target=x86_64-unknown-linux -mabi=vec-extabi %s 2>&1 | FileCheck --check-prefix=INVALID2 %s
3 ! RUN: not %flang -### -c --target=powerpc-unknown-aix -mabi=abc %s 2>&1 | FileCheck --check-prefix=INVALID3 %s
4 ! RUN: %flang -### -c -target powerpc-unknown-aix %s 2>&1 | FileCheck --implicit-check-not=vec-extabi %s
5 ! RUN: %flang -### -c -target powerpc-unknown-aix -mabi=vec-default %s 2>&1 | FileCheck --implicit-check-not=vec-extabi %s
6 ! RUN: %flang -### -c -target powerpc-unknown-aix -mabi=vec-extabi %s 2>&1 | FileCheck --check-prefix=EXTABI %s
8 ! REQUIRES: target=powerpc{{.*}}
10 ! INVALID1: error: unsupported option '-mabi=vec-extabi' for target '{{.*}}'
11 ! INVALID2: error: unsupported option '-mabi=' for target '{{.*}}'
12 ! INVALID3: error: unsupported argument 'abc' to option '-mabi='
15 ! EXTABI-SAME: "-mabi=vec-extabi"