summaryrefslogtreecommitdiff
path: root/test/Preprocessor/print-assembler.s
blob: c4e2e031f2d5bdfa2f3ccb8c404c1690b0411742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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