summaryrefslogtreecommitdiff
path: root/tests/projects/c++/shared_library/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-01 22:38:41 +0800
committerruki <[email protected]>2022-12-01 22:38:41 +0800
commit90613a344570916a4a7d197dc20d3af31a38be51 (patch)
treea2f05adfd49d82915b86749a39fcbae662b9f3d5 /tests/projects/c++/shared_library/src/main.cpp
parent62bf14a330904ea37496d5da5bfe3a66ec3d02ec (diff)
improve tests
Diffstat (limited to 'tests/projects/c++/shared_library/src/main.cpp')
-rw-r--r--tests/projects/c++/shared_library/src/main.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/projects/c++/shared_library/src/main.cpp b/tests/projects/c++/shared_library/src/main.cpp
index 72e03272b..ed1924789 100644
--- a/tests/projects/c++/shared_library/src/main.cpp
+++ b/tests/projects/c++/shared_library/src/main.cpp
@@ -1,10 +1,9 @@
-#include "interface.h"
+#include "foo.h"
#include <iostream>
using namespace std;
-int main(int argc, char** argv)
-{
- cout << "add(1, 2) = " << add(1, 2) << endl;
+int main(int argc, char** argv) {
+ cout << "add(1, 2) = " << add(1, 2) << endl;
return 0;
}