1 // RUN: not llvm-mc -triple x86_64-apple-darwin10 %s 2> %t.err 2 // RUN: FileCheck --check-prefix=CHECK-ERRORS %s < %t.err 3 4 .macro .test0 5 .endmacro 6 7 .macros_off 8 // CHECK-ERRORS: 9:1: error: unknown directive 9 .test0 10 .macros_on 11 12 .test0 13 14 // CHECK-ERRORS: macro '.test0' is already defined 15 .macro .test0 16 .endmacro 17 18 // CHECK-ERRORS: unexpected '.endmacro' in file 19 .endmacro 20 21 // CHECK-ERRORS: no matching '.endmacro' in definition 22 .macro dummy 23 24