brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · b7f2758 Raw
16 lines · cpp
1// RUN: not %clang_cc1 -fclang-abi-compat=banana %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s2// RUN: not %clang_cc1 -fclang-abi-compat=2.9 %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s3// RUN: not %clang_cc1 -fclang-abi-compat=42 %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s4// RUN: not %clang_cc1 -fclang-abi-compat=3.10 %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s5// RUN: not %clang_cc1 -fclang-abi-compat=4.1 %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s6// RUN: not %clang_cc1 -fclang-abi-compat=04 %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s7// RUN: not %clang_cc1 -fclang-abi-compat=4. %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s8// RUN: not %clang_cc1 -fclang-abi-compat=4.00 %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s9// INVALID: error: invalid value '{{.*}}' in '-fclang-abi-compat={{.*}}'10//11// RUN: %clang_cc1 -fclang-abi-compat=3.0 %s -fsyntax-only12// RUN: %clang_cc1 -fclang-abi-compat=3.9 %s -fsyntax-only13// RUN: %clang_cc1 -fclang-abi-compat=4 %s -fsyntax-only14// RUN: %clang_cc1 -fclang-abi-compat=4.0 %s -fsyntax-only15// RUN: %clang_cc1 -fclang-abi-compat=latest %s -fsyntax-only16