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