brintos

brintos / llvm-project-archived public Read only

0
0
Text · 768 B · c5c44ef Raw
11 lines · plain
1! RUN: %flang --target=x86_64-unknown-linux -masm=intel -S %s -### 2>&1 | FileCheck --check-prefix=CHECK-INTEL %s2! RUN: %flang --target=x86_64-unknown-linux -masm=att -S %s -### 2>&1 | FileCheck --check-prefix=CHECK-ATT %s3! RUN: not %flang --target=x86_64-unknown-linux -S -masm=somerequired %s -### 2>&1 | FileCheck --check-prefix=CHECK-SOMEREQUIRED %s4! RUN: %flang --target=aarch64-unknown-eabi -S -masm=intel %s -### 2>&1 | FileCheck --check-prefix=CHECK-AARCH64 %s5 6! CHECK-INTEL: "-mllvm" "-x86-asm-syntax=intel"7! CHECK-ATT: "-mllvm" "-x86-asm-syntax=att"8! CHECK-SOMEREQUIRED: error: unsupported argument 'somerequired' to option '-masm='9! CHECK-AARCH64: warning: argument unused during compilation: '-masm=intel'10! CHECK-AARCH64-NOT: -x86-asm-syntax=intel11