brintos

brintos / llvm-project-archived public Read only

0
0
Text · 791 B · 0b72120 Raw
18 lines · c
1// Options for intel arch2// RUN: %clang -### -target x86_64-apple-darwin -fextend-arguments=32 %s 2>&1 \3// RUN: | FileCheck --implicit-check-not "-fextend-arguments=32"  %s4// RUN: %clang -### -target x86_64-apple-darwin -fextend-arguments=64 %s 2>&1 \5// RUN: | FileCheck -check-prefix=CHECK-64 %s6 7// Unsupported target8// RUN: not %clang --target=aarch64-unknown-windows-msvc -fextend-arguments=32 %s 2>&1 \9// RUN: | FileCheck -check-prefix=UNSUPPORTED-TARGET %s10 11// Invalid option value12// RUN: not %clang -target x86_64-apple-darwin -fextend-arguments=0 %s 2>&1 \13// RUN: | FileCheck -check-prefix=INVALID-VALUE %s14 15// CHECK-64: "-cc1" {{.*}}"-fextend-arguments=64"16// UNSUPPORTED-TARGET: error: unsupported option17// INVALID-VALUE: error: invalid argument '0' to -fextend-arguments18