blob: aea5cb247fa8b8d9d070a1b35e288abc6ccd0024 [file] [log] [blame]
Chandler Carruthb2252332010-08-06 05:29:57 +00001// RUN: not %clang_cc1 -triple i386-apple-darwin10 -emit-obj %s -o /dev/null > %t 2>&1
Chris Lattner914803f2010-04-06 18:46:25 +00002// RUN: FileCheck %s < %t
3
4int test1(int X) {
5// CHECK: error: unrecognized instruction
6 __asm__ ("abc incl %0" : "+r" (X));
7 return X;
8}