brintos

brintos / llvm-project-archived public Read only

0
0
Text · 645 B · 63b8939 Raw
31 lines · plain
1// RUN: not llvm-mc -triple i386 %s 2>&1 | FileCheck %s2 3	.err4// CHECK: error: .err encountered5// CHECK-NEXT: 	.err6// CHECK-NEXT:  ^7 8	.ifc a,a9		.err10	.endif11// CHECK: error: .err encountered12// CHECK-NEXT:		.err13// CHECK-NEXT:          ^14 15	.ifnc a,a16		.err17	.endif18// CHECK-NOT: error: .err encountered19 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, two24		.error "My error is my best friend."25	.endif26// CHECK-NOT: error: My error is my best friend.27 28	.error29// CHECK: error: .error directive invoked in source file30 31