Mercurial > hg > CbC > CbC_llvm
view clang/test/Preprocessor/is_target_unknown.c @ 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 | c4bab56944e8 |
line wrap: on
line source
// RUN: %clang_cc1 -fsyntax-only -triple i686-unknown-unknown -verify %s // RUN: %clang_cc1 -fsyntax-only -triple i686-- -verify %s // expected-no-diagnostics #if __is_target_arch(unknown) #error "mismatching arch" #endif // Unknown vendor is allowed. #if !__is_target_vendor(unknown) #error "mismatching vendor" #endif // Unknown OS is allowed. #if !__is_target_os(unknown) #error "mismatching OS" #endif // Unknown environment is allowed. #if !__is_target_environment(unknown) #error "mismatching environment" #endif