diff options
Diffstat (limited to 'Tests/QtAutogen/rccOnly.cpp')
-rw-r--r-- | Tests/QtAutogen/rccOnly.cpp | 9 |
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..61c7bf4 --- /dev/null +++ b/Tests/QtAutogen/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; +} |