1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/MC/AsmParser/directive_print.s
Coby Tayree a794bbd4af [AsmParser] Support GAS's .print directive
Differential Revision: https://reviews.llvm.org/D38448

llvm-svn: 314674
2017-10-02 14:36:31 +00:00

19 lines
380 B
ArmAsm

# RUN: not llvm-mc -triple i386-linux-gnu %s 2> %t.err | FileCheck %s
# RUN: FileCheck < %t.err %s --check-prefix=CHECK-ERR
T1:
# CHECK: e
# CHECK: 2.718281828459045235
.print "e"
.print "2.718281828459045235"
T2:
# CHECK-ERR: expected double quoted string after .print
.altmacro
.print <pi>
.noaltmacro
T3:
# CHECK-ERR: expected end of statement
.print "a" "misplaced-string"