1// RUN: llvm-mc -triple x86_64-apple-macos %s -filetype=obj -o - | llvm-readobj --macho-version-min - | FileCheck %s
2
3// Test the formation of the sdk_version component of the version load
4// command in the MachO.
5.build_version macos, 10,13,2 sdk_version 10,14,1
6
7// CHECK: MinVersion {
8// CHECK:   Cmd: LC_BUILD_VERSION
9// CHECK:   Size: 24
10// CHECK:   Platform: macos
11// CHECK:   Version: 10.13.2
12// CHECK:   SDK: 10.14.1
13// CHECK: }
14