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