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.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/AutoExportDll/say.cxx b/Tests/RunCMake/AutoExportDll/say.cxx
index 9ca8d31..e966b1f 100644
--- a/Tests/RunCMake/AutoExportDll/say.cxx
+++ b/Tests/RunCMake/AutoExportDll/say.cxx
@@ -11,6 +11,7 @@ extern "C" {
int WINAPI foo();
// test regular C
int bar();
+int objlib();
}
// test c++ functions
@@ -39,6 +40,7 @@ int main()
foo();
printf("\n");
bar();
+ objlib();
printf("\n");
return 0;
}