diff options
author | Brad King <brad.king@kitware.com> | 2017-07-10 18:54:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-07-10 18:54:30 (GMT) |
commit | 6fba4ec0f55ffec4ee6939b3eca0eac47ca4a02f (patch) | |
tree | 38d943e37b769ea448e953ee2103a67b92e293aa /Tests | |
parent | dd69dea3e7456cf8ea7e5d60362f6f8aa7aafa48 (diff) | |
parent | 3250b9a122a19a840f63868a244832c24528d54a (diff) | |
download | CMake-6fba4ec0f55ffec4ee6939b3eca0eac47ca4a02f.zip CMake-6fba4ec0f55ffec4ee6939b3eca0eac47ca4a02f.tar.gz CMake-6fba4ec0f55ffec4ee6939b3eca0eac47ca4a02f.tar.bz2 |
Merge branch 'bindexplib-revert-consts' into release-3.9
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/AutoExportDll/foo.c | 2 | ||||
-rw-r--r-- | Tests/RunCMake/AutoExportDll/say.cxx | 10 |
2 files changed, 0 insertions, 12 deletions
diff --git a/Tests/RunCMake/AutoExportDll/foo.c b/Tests/RunCMake/AutoExportDll/foo.c index e70fbb5..4b1318b 100644 --- a/Tests/RunCMake/AutoExportDll/foo.c +++ b/Tests/RunCMake/AutoExportDll/foo.c @@ -13,5 +13,3 @@ int bar() { return 5; } - -const char testconst[] = "testconst"; diff --git a/Tests/RunCMake/AutoExportDll/say.cxx b/Tests/RunCMake/AutoExportDll/say.cxx index eb9c0ff..51060e8 100644 --- a/Tests/RunCMake/AutoExportDll/say.cxx +++ b/Tests/RunCMake/AutoExportDll/say.cxx @@ -13,14 +13,6 @@ int WINAPI foo(); int bar(); int objlib(); void justnop(); - -// test const export -#ifdef _WIN32 -// data symbols must be explicitly imported -__declspec(dllimport) extern const char testconst[]; -#else -extern const char testconst[]; -#endif } // test c++ functions @@ -51,8 +43,6 @@ int main() bar(); objlib(); printf("\n"); - printf("%s", testconst); - printf("\n"); #ifdef HAS_JUSTNOP justnop(); #endif |