annotate clang/test/Preprocessor/bpf-predefined-macros.c @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +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 -E -target bpfel -x c -o - %s | FileCheck %s
anatofuz
parents:
diff changeset
2 // RUN: %clang -E -target bpfeb -x c -o - %s | FileCheck %s
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 #ifdef __bpf__
anatofuz
parents:
diff changeset
5 int b;
anatofuz
parents:
diff changeset
6 #endif
anatofuz
parents:
diff changeset
7 #ifdef __BPF__
anatofuz
parents:
diff changeset
8 int c;
anatofuz
parents:
diff changeset
9 #endif
anatofuz
parents:
diff changeset
10 #ifdef bpf
anatofuz
parents:
diff changeset
11 int d;
anatofuz
parents:
diff changeset
12 #endif
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 // CHECK: int b;
anatofuz
parents:
diff changeset
15 // CHECK: int c;
anatofuz
parents:
diff changeset
16 // CHECK-NOT: int d;