summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/rcconly.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/rcconly.cpp')
-rw-r--r--Tests/QtAutogen/rcconly.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/QtAutogen/rcconly.cpp b/Tests/QtAutogen/rcconly.cpp
new file mode 100644
index 0000000..854c4c1
--- /dev/null
+++ b/Tests/QtAutogen/rcconly.cpp
@@ -0,0 +1,9 @@
+
+extern int qInitResources_second_resource();
+
+int main(int, char**)
+{
+ // Fails to link if the symbol is not present.
+ qInitResources_second_resource();
+ return 0;
+}