brintos

brintos / llvm-project-archived public Read only

0
0
Text · 550 B · 5a87349 Raw
15 lines · plain
1// RUN: llvm-mc -triple x86_64-apple-darwin %s 2>&1 | FileCheck %s2# ensure that single '#' comments are worink as expected on x86 darwin3.p2align 3            # test single hash after align4// CHECK: .p2align 35foo:                # single hash should be ignored as comment6// CHECK-LABEL: foo:7    movl %esp, %ebp # same after an instruction8// CHECK: movl %esp, %ebp9#   movl %esp, %ebp ## start of the line10// CHECK-NOT: movl %esp, %ebp11    # movl %esp, %ebp ## not quite start of the line12// CHECK-NOT: movl %esp, %ebp13bar:14// CHECK-LABEL: bar:15