Mercurial > hg > CbC > CbC_llvm
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 |
rev | line source |
---|---|
121 | 1 # RUN: not llvm-mc -triple i386-linux-gnu %s 2> %t.err | FileCheck %s |
2 # RUN: FileCheck < %t.err %s --check-prefix=CHECK-ERR | |
3 | |
4 T1: | |
5 # CHECK: e | |
6 # CHECK: 2.718281828459045235 | |
7 .print "e" | |
8 .print "2.718281828459045235" | |
9 | |
10 T2: | |
11 # CHECK-ERR: expected double quoted string after .print | |
12 .altmacro | |
13 .print <pi> | |
14 .noaltmacro | |
15 | |
16 T3: | |
17 # CHECK-ERR: expected end of statement | |
18 .print "a" "misplaced-string" |