aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/x86_errors.s
blob: 183306be2c116cfc6d8aea07d838023003c1de63 (plain)
1
2
3
4
5
// RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2> %t.err
// RUN: FileCheck < %t.err %s

// CHECK: error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq')
cmp $0, 0(%eax)