Chris Lattner | 914803f | 2010-04-06 18:46:25 +0000 | [diff] [blame] | 1 | // RUN: not %clang_cc1 -triple i386-apple-darwin10 -emit-obj %s > %t 2>&1 |
2 | // RUN: FileCheck %s < %t | ||||
3 | |||||
4 | int test1(int X) { | ||||
5 | // CHECK: error: unrecognized instruction | ||||
6 | __asm__ ("abc incl %0" : "+r" (X)); | ||||
7 | return X; | ||||
8 | } |