xref: /llvm-project/clang/test/Misc/cc1as-output-asm-variant.c (revision 4a9da96dc68d878893399210888a03117b39b802)
1 // REQUIRES: x86-registered-target
2 // RUN: %clang -cc1as -triple x86_64 %s -o - | FileCheck %s --check-prefix=ATT
3 // RUN: %clang -cc1as -triple x86_64 %s --output-asm-variant=1 -o - | FileCheck %s --check-prefix=INTEL
4 
5 // ATT: movl $1, %eax
6 // INTEL: mov eax, 1
7 
8 mov $1, %eax
9