summaryrefslogtreecommitdiff
path: root/test/MC/MachO/ios-version-min-load-command.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/MachO/ios-version-min-load-command.s')
-rw-r--r--test/MC/MachO/ios-version-min-load-command.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/MachO/ios-version-min-load-command.s b/test/MC/MachO/ios-version-min-load-command.s
new file mode 100644
index 0000000000..e065d147be
--- /dev/null
+++ b/test/MC/MachO/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: ),