summaryrefslogtreecommitdiffstats
path: root/config.tests/static_link_order/objlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/static_link_order/objlib.cpp')
-rw-r--r--config.tests/static_link_order/objlib.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.tests/static_link_order/objlib.cpp b/config.tests/static_link_order/objlib.cpp
new file mode 100644
index 0000000000..0ad7b76a80
--- /dev/null
+++ b/config.tests/static_link_order/objlib.cpp
@@ -0,0 +1,8 @@
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: BSD-3-Clause
+
+void staticLibFunc2();
+
+void objLibFunc() {
+ staticLibFunc2();
+}