summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/AutoExportDll/say.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/AutoExportDll/say.cxx')
-rw-r--r--Tests/RunCMake/AutoExportDll/say.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Tests/RunCMake/AutoExportDll/say.cxx b/Tests/RunCMake/AutoExportDll/say.cxx
index 0d78d4b..0178688 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