• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.align 3            # test single hash after align
4// CHECK: .align 3
5foo:                # 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
13bar:
14// CHECK-LABEL: bar:
15