Mercurial > hg > CbC > CbC_llvm
view clang/test/Frontend/clang-abi-compat.cpp @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: not %clang_cc1 -fclang-abi-compat=banana %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s // RUN: not %clang_cc1 -fclang-abi-compat=2.9 %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s // RUN: not %clang_cc1 -fclang-abi-compat=42 %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s // RUN: not %clang_cc1 -fclang-abi-compat=3.10 %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s // RUN: not %clang_cc1 -fclang-abi-compat=4.1 %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s // RUN: not %clang_cc1 -fclang-abi-compat=04 %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s // RUN: not %clang_cc1 -fclang-abi-compat=4. %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s // RUN: not %clang_cc1 -fclang-abi-compat=4.00 %s -fsyntax-only 2>&1 | FileCheck --check-prefix=INVALID %s // INVALID: error: invalid value '{{.*}}' in '-fclang-abi-compat={{.*}}' // // RUN: %clang_cc1 -fclang-abi-compat=3.0 %s -fsyntax-only // RUN: %clang_cc1 -fclang-abi-compat=3.9 %s -fsyntax-only // RUN: %clang_cc1 -fclang-abi-compat=4 %s -fsyntax-only // RUN: %clang_cc1 -fclang-abi-compat=4.0 %s -fsyntax-only // RUN: %clang_cc1 -fclang-abi-compat=latest %s -fsyntax-only