2014-08-14 10:51:43 +08:00
|
|
|
// RUN: llvm-mc -triple x86_64-apple-darwin %s 2>&1 | FileCheck %s
|
|
|
|
# ensure that single '#' comments are worink as expected on x86 darwin
|
2016-01-26 08:27:59 +08:00
|
|
|
.p2align 3 # test single hash after align
|
|
|
|
// CHECK: .p2align 3
|
2014-08-14 10:51:43 +08:00
|
|
|
foo: # single hash should be ignored as comment
|
|
|
|
// CHECK-LABEL: foo:
|
|
|
|
movl %esp, %ebp # same after an instruction
|
|
|
|
// CHECK: movl %esp, %ebp
|
|
|
|
# movl %esp, %ebp ## start of the line
|
|
|
|
// CHECK-NOT: movl %esp, %ebp
|
|
|
|
# movl %esp, %ebp ## not quite start of the line
|
|
|
|
// CHECK-NOT: movl %esp, %ebp
|
|
|
|
bar:
|
|
|
|
// CHECK-LABEL: bar:
|