Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-ml / radix_errors.asm
blobb47619f7344479d3504166f5cc1b53a0d416cbd5
1 ; RUN: not llvm-ml -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
3 .code
5 t1:
6 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
7 mov eax, 120b
8 ; CHECK: :[[# @LINE + 1]]:10: error: invalid binary number
9 mov eax, 120y
10 .radix 11
11 ; CHECK: :[[# @LINE + 1]]:10: error: invalid base-11 number
12 mov eax, 120b
13 ; CHECK: :[[# @LINE + 1]]:10: error: invalid binary number
14 mov eax, 120y
15 .radix 10
17 t2:
18 ; CHECK: :[[# @LINE + 1]]:10: error: invalid octal number
19 mov eax, 190o
20 ; CHECK: :[[# @LINE + 1]]:10: error: invalid octal number
21 mov eax, 190q
22 .radix 13
23 ; CHECK: :[[# @LINE + 1]]:10: error: invalid octal number
24 mov eax, 190o
25 ; CHECK: :[[# @LINE + 1]]:10: error: invalid octal number
26 mov eax, 190q
27 .radix 10
29 t3:
30 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
31 mov eax, 1f0d
32 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
33 mov eax, 1f0t
34 .radix 13
35 ; CHECK: :[[# @LINE + 1]]:10: error: invalid base-13 number
36 mov eax, 1f0d
37 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
38 mov eax, 1f0t
39 .radix 10
41 t4:
42 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
43 mov eax, 10e
44 .radix 16
45 .radix 10
46 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
47 mov eax, 10e
49 t5:
50 .radix 9
51 ; CHECK: :[[# @LINE + 1]]:10: error: invalid base-9 number
52 mov eax, 9
53 .radix 10
55 END