[mips][microMIPS] MicroMIPS 16-bit unconditional branch instruction B
[oota-llvm.git] / test / MC / Mips / mips-abi-bad.s
1 # Error checking for malformed abi related directives
2 # RUN: not llvm-mc -triple mips-unknown-unknown %s 2>&1 | FileCheck %s
3 # CHECK: .text
4     .module fp=3
5 # CHECK      : mips-abi-bad.s:4:16: error: unsupported option
6 # CHECK-NEXT : .module fp=3
7 # CHECK-NEXT :           ^
8
9     .set fp=xx,6
10 # CHECK      :mips-abi-bad.s:5:15: error: unexpected token in statement
11 # CHECK-NEXT :    .set fp=xx,6
12 # CHECK-NEXT :              ^
13
14 # CHECK       :.set mips16
15     .set mips16
16     .module fp=32
17
18 # CHECK      :mips-abi-bad.s:14:13: error: .module directive must come before any code
19 # CHECK-NEXT :    .module fp=32
20 # CHECK-NEXT :            ^