summaryrefslogtreecommitdiffstats
path: root/config.tests/no_direct_extern_access/other.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/no_direct_extern_access/other.cpp')
-rw-r--r--config.tests/no_direct_extern_access/other.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.tests/no_direct_extern_access/other.cpp b/config.tests/no_direct_extern_access/other.cpp
new file mode 100644
index 0000000000..ff12b10930
--- /dev/null
+++ b/config.tests/no_direct_extern_access/other.cpp
@@ -0,0 +1,8 @@
+// Copyright (C) 2022 Intel Corporation.
+// SPDX-License-Identifier: MIT
+
+// This is the test found in https://sourceware.org/bugzilla/show_bug.cgi?id=29377
+
+__attribute__((visibility("protected"))) void foo()
+{
+}