14 lines
470 B
ArmAsm
14 lines
470 B
ArmAsm
// RUN: llvm-mc -triple aarch64-windows-gnu -filetype obj -o %t.obj %s
|
|
// RUN: llvm-objdump -d %t.obj | FileCheck %s
|
|
// RUN: llvm-mc -triple aarch64-windows-msvc -filetype obj -o %t.obj %s
|
|
// RUN: llvm-objdump -d %t.obj | FileCheck %s
|
|
|
|
func:
|
|
// Check that the nop instruction after the semicolon also is handled
|
|
nop; nop
|
|
add x0, x0, #42
|
|
|
|
// CHECK: 0: 1f 20 03 d5 nop
|
|
// CHECK: 4: 1f 20 03 d5 nop
|
|
// CHECK: 8: 00 a8 00 91 add x0, x0, #42
|