diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-05-27 14:17:23 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-05-28 14:19:45 +0200 |
commit | 8fa110847f7156c994dec9bce09be83ca46c148f (patch) | |
tree | daec65793acac14ca5af3bea11998193f8aece51 /tests/auto/blackbox/testdata/appWithoutSources/b.cpp | |
parent | 0f0d90485e591eb74e3f5b773e849aadba480088 (diff) |
Fix "appWithoutSources" blackbox test for Windows.
The "main" symbol seems to lose its magic if it comes from a library, so
tell the linker where the entry point is. For this purpose, use C
instead of C++, so we won't have to deal with name mangling.
Change-Id: Ia2c0714431a1b54ebcbba3d13851d4cfcf9a6c3e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/blackbox/testdata/appWithoutSources/b.cpp')
-rw-r--r-- | tests/auto/blackbox/testdata/appWithoutSources/b.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/auto/blackbox/testdata/appWithoutSources/b.cpp b/tests/auto/blackbox/testdata/appWithoutSources/b.cpp deleted file mode 100644 index 76c93685d..000000000 --- a/tests/auto/blackbox/testdata/appWithoutSources/b.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include <cstdio> - -int foo(); // defined in a.cpp - -int main() -{ - printf("The answer is %d.\n", foo()); - return 0; -} - |