1 // RUN: not %clang -emit-interface-stubs -interface-stub-version=bad-format %s 2>&1 | \ 2 // RUN: FileCheck %s 3 4 // RUN: not %clang -emit-interface-stubs -interface-stub-version=experimental-tapi-elf-v1 %s 2>&1 | \ 5 // RUN: FileCheck -check-prefix=CHECK-TAPI-DEPRECATED %s 6 7 // RUN: not %clang -emit-interface-stubs -interface-stub-version=experimental-yaml-elf-v1 %s 2>&1 | \ 8 // RUN: FileCheck -check-prefix=CHECK-YAML-DEPRECATED %s 9 10 // RUN: not %clang -emit-interface-stubs -interface-stub-version=experimental-ifs-v1 %s 2>&1 | \ 11 // RUN: FileCheck -check-prefix=CHECK-V1-DEPRECATED %s 12 13 // RUN: not %clang -emit-interface-stubs -interface-stub-version=bad-format %s 2>&1 | \ 14 // RUN: FileCheck %s 15 16 // RUN: not %clang -emit-interface-stubs \ 17 // RUN: -interface-stub-version=experimental-tapi-elf-v1 %s 2>&1 | \ 18 // RUN: FileCheck -check-prefix=CHECK-TAPI-DEPRECATED %s 19 20 // RUN: not %clang -emit-interface-stubs \ 21 // RUN: -interface-stub-version=experimental-yaml-elf-v1 %s 2>&1 | \ 22 // RUN: FileCheck -check-prefix=CHECK-YAML-DEPRECATED %s 23 24 // CHECK: error: invalid value 25 // CHECK: 'Invalid interface stub format: bad-format.' in 'Must specify a 26 // CHECK: valid interface stub format type, ie: 27 // CHECK: -interface-stub-version=experimental-ifs-v2' 28 29 // CHECK-TAPI-DEPRECATED: error: invalid value 30 // CHECK-TAPI-DEPRECATED: 'Invalid interface stub format: 31 // CHECK-TAPI-DEPRECATED: experimental-tapi-elf-v1 is deprecated.' in 'Must 32 // CHECK-TAPI-DEPRECATED: specify a valid interface stub format type, ie: 33 // CHECK-TAPI-DEPRECATED: -interface-stub-version=experimental-ifs-v2' 34 35 // CHECK-YAML-DEPRECATED: error: invalid value 36 // CHECK-YAML-DEPRECATED: 'Invalid interface stub format: 37 // CHECK-YAML-DEPRECATED: experimental-yaml-elf-v1 is deprecated.' in 'Must 38 // CHECK-YAML-DEPRECATED: specify a valid interface stub format type, ie: 39 // CHECK-YAML-DEPRECATED: -interface-stub-version=experimental-ifs-v2' 40 41 // CHECK-V1-DEPRECATED: error: invalid value 42 // CHECK-V1-DEPRECATED: 'Invalid interface stub format: 43 // CHECK-V1-DEPRECATED: experimental-ifs-v1 is deprecated.' in 'Must 44 // CHECK-V1-DEPRECATED: specify a valid interface stub format type, ie: 45 // CHECK-V1-DEPRECATED: -interface-stub-version=experimental-ifs-v2' 46