[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / Mips / mips-abi-bad.s
blob0e065bfba7080a1bf0b8e5804bfd7c1dbe3001c3
1 # RUN: not llvm-mc -triple mips-unknown-unknown %s 2>&1 | FileCheck %s
3 # Error checking for malformed .module directives (and .set fp=...).
5 .module fp=3
6 # CHECK: :[[@LINE-1]]:17: error: unsupported value, expected 'xx', '32' or '64'
7 # CHECK-NEXT: .module fp=3
8 # CHECK-NEXT: ^
10 # FIXME: Add separate test for .set fp=xx/32/64.
11 .set fp=xx,6
12 # CHECK: :[[@LINE-1]]:15: error: unexpected token, expected end of statement
13 # CHECK-NEXT: .set fp=xx,6
14 # CHECK-NEXT: ^
16 .module
17 # CHECK: :[[@LINE-1]]:12: error: expected .module option identifier
18 # CHECK-NEXT: .module
19 # CHECK-NEXT: ^
21 .module 34
22 # CHECK: :[[@LINE-1]]:13: error: expected .module option identifier
23 # CHECK-NEXT: .module 34
24 # CHECK-NEXT: ^