diff options
Diffstat (limited to 'Tests/RunCMake/AutoExportDll')
| -rw-r--r-- | Tests/RunCMake/AutoExportDll/hello.cxx | 4 | ||||
| -rw-r--r-- | Tests/RunCMake/AutoExportDll/say.cxx | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/Tests/RunCMake/AutoExportDll/hello.cxx b/Tests/RunCMake/AutoExportDll/hello.cxx index 4196948f6f..533fd3e72d 100644 --- a/Tests/RunCMake/AutoExportDll/hello.cxx +++ b/Tests/RunCMake/AutoExportDll/hello.cxx @@ -9,5 +9,5 @@ void hello() { printf("hello"); } -void Hello::operator delete[](void*) {}; -void Hello::operator delete(void*) {}; +void Hello::operator delete[](void*){}; +void Hello::operator delete(void*){}; diff --git a/Tests/RunCMake/AutoExportDll/say.cxx b/Tests/RunCMake/AutoExportDll/say.cxx index 0d78d4be89..0178688b34 100644 --- a/Tests/RunCMake/AutoExportDll/say.cxx +++ b/Tests/RunCMake/AutoExportDll/say.cxx @@ -6,12 +6,11 @@ #define WINAPI #endif -extern "C" -{ +extern "C" { // test __cdecl stuff - int WINAPI foo(); +int WINAPI foo(); // test regular C - int bar(); +int bar(); } // test c++ functions |
