aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Misc/cc1as-output-asm-variant.c
blob: c287c62fc95e4d2fd8663f6145e3111cfeb110d8 (plain)
1
2
3
4
5
6
7
8
// REQUIRES: x86-registered-target
// RUN: %clang -cc1as -triple x86_64 %s -o - | FileCheck %s --check-prefix=ATT
// RUN: %clang -cc1as -triple x86_64 %s --output-asm-variant=1 -o - | FileCheck %s --check-prefix=INTEL

// ATT: movl $1, %eax
// INTEL: mov eax, 1

mov $1, %eax