1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/MC/MSP430/msp430-separator.s
Anton Korobeynikov b536dc1c0f [MSP430] Recognize '{' as a line separator
msp430-as supports multiple assembly statements on the same line
separated by a '{' character.

llvm-svn: 351233
2019-01-15 20:10:46 +00:00

16 lines
396 B
ArmAsm

; RUN: llvm-mc -triple msp430 < %s | FileCheck %s
; MSP430 supports multiple assembly statements on the same line
; separated by a '{' character.
; Check that the '{' is recognized as a line separator and
; multiple statements correctly parsed.
_foo:
; CHECK: foo
; CHECK: add r10, r11
; CHECK-NEXT: call r11
; CHECK-NEXT: mov r11, 2(r1)
add r10, r11 { call r11 { mov r11, 2(r1)
ret