summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/MachO/ARM/ios-version-min-load-command.s
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-03-18 23:12:09 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-03-18 23:12:09 +0000
commit2e21f634628965fad362e3623501dd1b55537557 (patch)
tree9f67d13471d0d41abd5fd0d4b9815e8c8cf70fa8 /llvm/test/MC/MachO/ARM/ios-version-min-load-command.s
parente93b257c6a5402c66056ed4940eefab0b2ebc3fd (diff)
downloadbcm5719-llvm-2e21f634628965fad362e3623501dd1b55537557.tar.gz
bcm5719-llvm-2e21f634628965fad362e3623501dd1b55537557.zip
Move yet another test that requires ARM to an ARM test directory.
llvm-svn: 204198
Diffstat (limited to 'llvm/test/MC/MachO/ARM/ios-version-min-load-command.s')
-rw-r--r--llvm/test/MC/MachO/ARM/ios-version-min-load-command.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/MC/MachO/ARM/ios-version-min-load-command.s b/llvm/test/MC/MachO/ARM/ios-version-min-load-command.s
new file mode 100644
index 00000000000..e065d147be7
--- /dev/null
+++ b/llvm/test/MC/MachO/ARM/ios-version-min-load-command.s
@@ -0,0 +1,10 @@
+// RUN: llvm-mc -triple armv7-apple-ios %s -filetype=obj -o - | macho-dump | FileCheck %s
+
+// Test the formation of the version-min load command in the MachO.
+// use a nonsense but well formed version.
+.ios_version_min 99,8,7
+// CHECK: (('command', 37)
+// CHECK: ('size', 16)
+// CHECK: ('version, 6490119)
+// CHECK: ('reserved, 0)
+// CHECK: ),
OpenPOWER on IntegriCloud