diff options
Diffstat (limited to 'test/MC/MachO/osx-version-min-load-command.s')
-rw-r--r-- | test/MC/MachO/osx-version-min-load-command.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/MachO/osx-version-min-load-command.s b/test/MC/MachO/osx-version-min-load-command.s new file mode 100644 index 0000000..2a73609 --- /dev/null +++ b/test/MC/MachO/osx-version-min-load-command.s @@ -0,0 +1,10 @@ +// RUN: llvm-mc -triple x86_64-apple-darwin %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. +.macosx_version_min 25,3,1 +// CHECK: (('command', 36) +// CHECK: ('size', 16) +// CHECK: ('version, 1639169) +// CHECK: ('reserved, 0) +// CHECK: ), |