summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-clang-bpf-global-var.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/feature/test-clang-bpf-global-var.c')
-rw-r--r--tools/build/feature/test-clang-bpf-global-var.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/build/feature/test-clang-bpf-global-var.c b/tools/build/feature/test-clang-bpf-global-var.c
new file mode 100644
index 000000000000..221f1481d52e
--- /dev/null
+++ b/tools/build/feature/test-clang-bpf-global-var.c
@@ -0,0 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (c) 2020 Facebook
+
+volatile int global_value_for_test = 1;