1 // RUN: not llvm-mc -triple i386 %s 2>&1 | FileCheck %s 2 3 .err 4 // CHECK: error: .err encountered 5 // CHECK-NEXT: .err 6 // CHECK-NEXT: ^ 7 8 .ifc a,a 9 .err 10 .endif 11 // CHECK: error: .err encountered 12 // CHECK-NEXT: .err 13 // CHECK-NEXT: ^ 14 15 .ifnc a,a 16 .err 17 .endif 18 // CHECK-NOT: error: .err encountered 19 20 .error "This is my error. There are many like it, but this one is mine." 21 // CHECK: error: This is my error. There are many like it, but this one is mine. 22 23 .ifc one, two 24 .error "My error is my best friend." 25 .endif 26 // CHECK-NOT: error: My error is my best friend. 27 28 .error 29 // CHECK: error: .error directive invoked in source file 30 31