1*f4a2713aSLionel Sambuc // REQUIRES: x86-registered-target 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc // RUN: true 4*f4a2713aSLionel Sambuc // UN: not %clang_cc1 -triple i386-apple-darwin10 -emit-obj %s -o /dev/null > %t 2>&1 5*f4a2713aSLionel Sambuc // UN: FileCheck %s < %t 6*f4a2713aSLionel Sambuc test1(int X)7*f4a2713aSLionel Sambucint test1(int X) { 8*f4a2713aSLionel Sambuc // CHECK: error: invalid instruction mnemonic 'abc' 9*f4a2713aSLionel Sambuc __asm__ ("abc incl %0" : "+r" (X)); 10*f4a2713aSLionel Sambuc return X; 11*f4a2713aSLionel Sambuc } 12