view clang/test/Preprocessor/is_target_arm64.c @ 237:c80f45b162ad llvm-original

add some fix
author kono
date Wed, 09 Nov 2022 17:47:54 +0900
parents 1d019706d866
children
line wrap: on
line source

// RUN: %clang_cc1 -fsyntax-only -triple arm64-apple-ios11 -verify %s
// expected-no-diagnostics

#if !__is_target_arch(arm64) || !__is_target_arch(aarch64)
  #error "mismatching arch"
#endif

#if __is_target_arch(aarch64_be)
  #error "mismatching arch"
#endif