diff options
| author | ruki <[email protected]> | 2023-09-27 23:23:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-27 23:23:07 +0800 |
| commit | 0fd951cc540635f332a7c7379a319656c82d70b4 (patch) | |
| tree | 598ce4b482a87b6801dc10361f260499fd1156b2 /tests/projects/c++/linkorders/src/main.cpp | |
| parent | a7d7a3718375dc61342f283a50b297ac4ba7e007 (diff) | |
add link orders example
Diffstat (limited to 'tests/projects/c++/linkorders/src/main.cpp')
| -rw-r--r-- | tests/projects/c++/linkorders/src/main.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/projects/c++/linkorders/src/main.cpp b/tests/projects/c++/linkorders/src/main.cpp new file mode 100644 index 000000000..ed1924789 --- /dev/null +++ b/tests/projects/c++/linkorders/src/main.cpp @@ -0,0 +1,9 @@ +#include "foo.h" +#include <iostream> + +using namespace std; + +int main(int argc, char** argv) { + cout << "add(1, 2) = " << add(1, 2) << endl; + return 0; +} |
