summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AArch64/coff-gnu.s
blob: df0dc7d33cfb414681c0b9998cc7285da229bc07 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: llvm-mc -triple aarch64-windows-gnu -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
OpenPOWER on IntegriCloud