1 // RUN: not llvm-mc -triple i686-unknown-unknown -x86-asm-syntax=att %s -o /dev/null 2>&1 | FileCheck %s
3 // This tests weird forms of Intel and AT&T syntax that gas accepts that we
4 // don't. The [no]prefix operand of the syntax directive indicates whether
5 // registers need a '%' prefix.
8 // CHECK: error: '.intel_syntax prefix' is not supported: registers must not have a '%' prefix in .intel_syntax
10 mov DWORD PTR [%esp - 4], 257
12 // CHECK: error: '.att_syntax noprefix' is not supported: registers must have a '%' prefix in .att_syntax