[llvm-objdump] - Remove one overload of reportError. NFCI.
[llvm-complete.git] / test / MC / MachO / ARM / build-version-sdk-version-errors.c
blobbd568d58129c5e68a973adcead7ce7ca50f5031a
1 // RUN: not llvm-mc -triple x86_64-apple-macos %s 2>&1 | FileCheck %s
3 .build_version macos,3,4,5 sdk_version
4 // CHECK: invalid SDK major version number, integer expected
6 .build_version macos,3,4,5 sdk_version 10
7 // CHECK: SDK minor version number required, comma expected
9 .build_version macos,3,4,5 sdk_version 10,
10 // CHECK: invalid SDK minor version number, integer expected
12 .build_version macos,3,4,5 sdk_version 10,1,
13 // CHECK: invalid SDK subminor version number, integer expected
15 .build_version macos,3,4,5 sdk_version 10,10000
16 // CHECK: invalid SDK minor version number
18 .build_version macos,3,4,5 sdk_version 10,255,10000
19 // CHECK: invalid SDK subminor version number