1# RUN: not llvm-mc -triple mips-unknown-unknown %s 2>&1 | FileCheck %s
2
3# Error checking for malformed .module directives (and .set fp=...).
4
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:             ^
9
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:           ^
15
16    .module
17# CHECK: :[[@LINE-1]]:12: error: expected .module option identifier
18# CHECK-NEXT: .module
19# CHECK-NEXT:        ^
20
21    .module 34
22# CHECK: :[[@LINE-1]]:13: error: expected .module option identifier
23# CHECK-NEXT: .module 34
24# CHECK-NEXT:         ^
25