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