Home | History | Annotate | Download | only in AsmParser
      1 // RUN: llvm-mc -triple i386 %s 2>&1 | FileCheck %s
      2 
      3 	.warning
      4 // CHECK: warning: .warning directive invoked in source file
      5 // CHECK-NEXT: 	.warning
      6 // CHECK-NEXT:  ^
      7 
      8 	.ifc a,a
      9 		.warning
     10 	.endif
     11 // CHECK: warning: .warning directive invoked in source file
     12 // CHECK-NEXT:		.warning
     13 // CHECK-NEXT:          ^
     14 
     15 	.ifnc a,a
     16 		.warning
     17 	.endif
     18 // CHECK-NOT: warning: .warning directive invoked in source file
     19 
     20 	.warning "here be dragons"
     21 // CHECK: warning: here be dragons
     22 
     23 	.ifc one, two
     24 		.warning "dragons, i say"
     25 	.endif
     26 // CHECK-NOT: warning: dragons, i say
     27