1 // Options for intel arch 2 // RUN: %clang -### -target x86_64-apple-darwin -fextend-arguments=32 %s 2>&1 \ 3 // RUN: | FileCheck --implicit-check-not "-fextend-arguments=32" %s 4 // RUN: %clang -### -target x86_64-apple-darwin -fextend-arguments=64 %s 2>&1 \ 5 // RUN: | FileCheck -check-prefix=CHECK-64 %s 6 7 // Unsupported target 8 // RUN: not %clang --target=aarch64-unknown-windows-msvc -fextend-arguments=32 %s 2>&1 \ 9 // RUN: | FileCheck -check-prefix=UNSUPPORTED-TARGET %s 10 11 // Invalid option value 12 // RUN: not %clang -target x86_64-apple-darwin -fextend-arguments=0 %s 2>&1 \ 13 // RUN: | FileCheck -check-prefix=INVALID-VALUE %s 14 15 // CHECK-64: "-cc1" {{.*}}"-fextend-arguments=64" 16 // UNSUPPORTED-TARGET: error: unsupported option 17 // INVALID-VALUE: error: invalid argument '0' to -fextend-arguments 18