summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/is_target_arm64.c
blob: 87ebe94d18e3ad31b39e875d574328968e1e7d94 (plain)
1
2
3
4
5
6
7
8
9
10
// 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
OpenPOWER on IntegriCloud