llvm-mc: Fix darwin .section parsing. It was skipping the section name and a ','
[oota-llvm.git] / test / MC / AsmParser / directive_darwin_section.s
diff --git a/test/MC/AsmParser/directive_darwin_section.s b/test/MC/AsmParser/directive_darwin_section.s
new file mode 100644 (file)
index 0000000..4fea2ea
--- /dev/null
@@ -0,0 +1,4 @@
+# RUN: llvm-mc -triple i386-apple-darwin9 %s | FileCheck %s
+
+# CHECK: .section __DWARF,__debug_frame,regular,debug
+       .section        __DWARF,__debug_frame,regular,debug