[mips] Correct .MIPS.abiflags fp_abi field for -mfpxx and without .module
[oota-llvm.git] / test / MC / Mips / mips_abi_flags_xx.s
index 9192d0c4800b2cc4d77844b75f00433a850e3466..d71eef37332055f4d83f5d13070676302744a9fc 100644 (file)
@@ -5,6 +5,10 @@
 # RUN:   llvm-readobj -sections -section-data -section-relocations - | \
 # RUN:     FileCheck %s -check-prefix=CHECK-OBJ
 
+# RUN: llvm-mc /dev/null -arch=mips -mcpu=mips32 -mattr=fpxx -filetype=obj -o - | \
+# RUN:   llvm-readobj -sections -section-data -section-relocations - | \
+# RUN:     FileCheck %s -check-prefix=CHECK-OBJ
+
 # CHECK-ASM: .module fp=xx
 
 # Checking if the Mips.abiflags were correctly emitted.