summaryrefslogtreecommitdiffstats
path: root/Tests/Visibility/shared.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Visibility/shared.cpp')
-rw-r--r--Tests/Visibility/shared.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/Visibility/shared.cpp b/Tests/Visibility/shared.cpp
new file mode 100644
index 0000000..4897ff8
--- /dev/null
+++ b/Tests/Visibility/shared.cpp
@@ -0,0 +1,8 @@
+extern "C" int bar(void);
+void baz();
+
+int shared()
+{
+ baz();
+ return bar();
+}