Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AsmParser / comments-x86-darwin.s
blob5a873495ce6722d9b11771f097c722aaa663b61d
1 // RUN: llvm-mc -triple x86_64-apple-darwin %s 2>&1 | FileCheck %s
2 # ensure that single '#' comments are worink as expected on x86 darwin
3 .p2align 3 # test single hash after align
4 // CHECK: .p2align 3
5 foo: # single hash should be ignored as comment
6 // CHECK-LABEL: foo:
7 movl %esp, %ebp # same after an instruction
8 // CHECK: movl %esp, %ebp
9 # movl %esp, %ebp ## start of the line
10 // CHECK-NOT: movl %esp, %ebp
11 # movl %esp, %ebp ## not quite start of the line
12 // CHECK-NOT: movl %esp, %ebp
13 bar:
14 // CHECK-LABEL: bar: