view clang/test/Preprocessor/print-assembler.s @ 180:680fa57a2f20

fix compile errors.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 30 May 2020 17:44:06 +0900
parents 1d019706d866
children
line wrap: on
line source

// 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