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