annotate clang/test/Preprocessor/macho-embedded-predefines.c @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -E -dM -triple thumbv7m-apple-unknown-macho -target-cpu cortex-m3 %s | FileCheck %s -check-prefix CHECK-7M
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 // CHECK-7M: #define __APPLE_CC__
anatofuz
parents:
diff changeset
4 // CHECK-7M: #define __APPLE__
anatofuz
parents:
diff changeset
5 // CHECK-7M: #define __ARM_ARCH_7M__
anatofuz
parents:
diff changeset
6 // CHECK-7M-NOT: #define __MACH__
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 // RUN: %clang_cc1 -E -dM -triple thumbv7em-apple-unknown-macho -target-cpu cortex-m4 %s | FileCheck %s -check-prefix CHECK-7EM
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 // CHECK-7EM: #define __APPLE_CC__
anatofuz
parents:
diff changeset
11 // CHECK-7EM: #define __APPLE__
anatofuz
parents:
diff changeset
12 // CHECK-7EM: #define __ARM_ARCH_7EM__
anatofuz
parents:
diff changeset
13 // CHECK-7EM-NOT: #define __MACH__
anatofuz
parents:
diff changeset
14
anatofuz
parents:
diff changeset
15 // RUN: %clang_cc1 -E -dM -triple thumbv6m-apple-unknown-macho -target-cpu cortex-m0 %s | FileCheck %s -check-prefix CHECK-6M
anatofuz
parents:
diff changeset
16
anatofuz
parents:
diff changeset
17 // CHECK-6M: #define __APPLE_CC__
anatofuz
parents:
diff changeset
18 // CHECK-6M: #define __APPLE__
anatofuz
parents:
diff changeset
19 // CHECK-6M: #define __ARM_ARCH_6M__
anatofuz
parents:
diff changeset
20 // CHECK-6M-NOT: #define __MACH__