Add a testcase for r207627.
authorJames Molloy <james.molloy@arm.com>
Wed, 30 Apr 2014 20:06:26 +0000 (20:06 +0000)
committerJames Molloy <james.molloy@arm.com>
Wed, 30 Apr 2014 20:06:26 +0000 (20:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207697 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/ELF/arm64-be-datalayout.s [new file with mode: 0644]

diff --git a/test/MC/ELF/arm64-be-datalayout.s b/test/MC/ELF/arm64-be-datalayout.s
new file mode 100644 (file)
index 0000000..f448a4b
--- /dev/null
@@ -0,0 +1,4 @@
+// RUN: llvm-mc -filetype=obj -triple arm64_be %s | llvm-readobj -section-data -sections | FileCheck %s
+
+// CHECK: 0000: 00123456 789ABCDE
+foo:    .xword 0x123456789abcde