1958169411fdc9bc1ee9df3fa111bf33b5df7b5d9Daniel Dunbar// RUN: not llvm-mc -triple x86_64-apple-darwin10 %s 2> %t.err 247ed948e91d5601cb6aba4f63e859ae5b969bc53Daniel Dunbar// RUN: FileCheck --check-prefix=CHECK-ERRORS %s < %t.err 347ed948e91d5601cb6aba4f63e859ae5b969bc53Daniel Dunbar 42e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar.macro .test0 52e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar.endmacro 62e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar 747ed948e91d5601cb6aba4f63e859ae5b969bc53Daniel Dunbar.macros_off 82e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar// CHECK-ERRORS: 9:1: warning: ignoring directive for now 92e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar.test0 102e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar.macros_on 110c9c82d8aa7d803848db8f75fcd81c46ac80eb1fDaniel Dunbar 122e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar.test0 132e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar 142e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar// CHECK-ERRORS: macro '.test0' is already defined 152e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar.macro .test0 162e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar.endmacro 172e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar 182e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar// CHECK-ERRORS: unexpected '.endmacro' in file 192e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar.endmacro 202e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar 212e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar// CHECK-ERRORS: no matching '.endmacro' in definition 222e511dc927c8d41ab6be81449b0af913bab2e84bDaniel Dunbar.macro dummy 2347ed948e91d5601cb6aba4f63e859ae5b969bc53Daniel Dunbar 24