1# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - | \
2# RUN:   llvm-readobj -h | \
3# RUN:     FileCheck %s -check-prefix=CHECK-OBJ
4# RUN: llvm-mc -triple mipsel-unknown-linux -mcpu=mips32 %s -o -| \
5# RUN:   FileCheck %s -check-prefix=CHECK-ASM
6
7# This *MUST* match the output of 'gcc -c' compiled with the same triple.
8# CHECK-OBJ: Flags [ (0x50001404)
9
10# CHECK-ASM: .nan 2008
11
12.nan 2008
13