Merging r259740:
[oota-llvm.git] / test / MC / Sparc / sparc-directive-xword.s
1 ! RUN: not llvm-mc %s -arch=sparc   -show-encoding 2>&1 | FileCheck %s --check-prefix=SPARC32
2 ! RUN: llvm-mc %s -triple sparc64 -show-encoding | FileCheck %s --check-prefix=SPARC64
3 ! RUN: llvm-mc %s -triple sparcv9 -show-encoding | FileCheck %s --check-prefix=SPARCV9
4
5         ! SPARC32:       error: unknown directive
6         ! SPARC32-NEXT:  .xword 65536
7         ! SPARC32-NEXT:  ^
8
9         ! SPARC64:  .xword 65536
10         .xword 65536
11
12         ! SPARCV9:  .xword 65536
13         .xword 65536