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 [ (0x50001004)
9
10# CHECK-ASM: .nan 2008
11# CHECK-ASM: .nan legacy
12
13.nan 2008
14# Let's override the previous directive!
15.nan legacy
16