llvm-6502/test/MC/AsmParser/full_line_comment.s
Kevin Enderby d82ed5b734 In llvm-mc parse a Hash token as a full line comment. Allows handling of
preprocessed .s files and matches darwin gas.  rdar://8798690
Also fix a comment on the next line of AsmParser.cpp after this new code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122531 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-24 00:12:02 +00:00

9 lines
219 B
ArmAsm

// RUN: llvm-mc -triple arm-apple-darwin10 %s | FileCheck %s
# this is a full line comment starting at column 1
# this starting at column 2
.data
// CHECK: .long 0
.long 0
# .long 1 this line is commented out