llvm-for-llvmta/tools/clang/test/Preprocessor/print-assembler.s

17 lines
304 B
ArmAsm
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -E -x assembler-with-cpp %s -o - | FileCheck %s --strict-whitespace
.intel_syntax noprefix
.text
.global _main
_main:
# asdf
# asdf
mov bogus_name, 20
mov rax, 5
ret
// CHECK-LABEL: _main:
// CHECK-NEXT: {{^}} # asdf
// CHECK-NEXT: {{^}} # asdf
// CHECK-NEXT: mov bogus_name, 20