summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/skipRcc.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-01-01 15:45:40 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-01-10 11:49:17 (GMT)
commitc17e0a3ad58f06fcb0827910af520405670b3d51 (patch)
tree93355a1915fe7172cf31a64baa0bd7d4cf433fbb /Tests/QtAutogen/skipRcc.cpp
parent53787bf8de2d3981f650e9036bb89cb6ed884a75 (diff)
downloadCMake-c17e0a3ad58f06fcb0827910af520405670b3d51.zip
CMake-c17e0a3ad58f06fcb0827910af520405670b3d51.tar.gz
CMake-c17e0a3ad58f06fcb0827910af520405670b3d51.tar.bz2
AUTOGEN: Tests: AUTORCC SKIP_AUTORCC and SKIP_AUTOGEN test
Diffstat (limited to 'Tests/QtAutogen/skipRcc.cpp')
-rw-r--r--Tests/QtAutogen/skipRcc.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/QtAutogen/skipRcc.cpp b/Tests/QtAutogen/skipRcc.cpp
new file mode 100644
index 0000000..ec57110
--- /dev/null
+++ b/Tests/QtAutogen/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;
+}