annotate test/MC/AsmParser/directive_print.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
1 # RUN: not llvm-mc -triple i386-linux-gnu %s 2> %t.err | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2 # RUN: FileCheck < %t.err %s --check-prefix=CHECK-ERR
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
3
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
4 T1:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
5 # CHECK: e
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
6 # CHECK: 2.718281828459045235
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7 .print "e"
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
8 .print "2.718281828459045235"
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10 T2:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
11 # CHECK-ERR: expected double quoted string after .print
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
12 .altmacro
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
13 .print <pi>
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
14 .noaltmacro
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
15
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
16 T3:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
17 # CHECK-ERR: expected end of statement
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
18 .print "a" "misplaced-string"