diff options
| author | ruki <[email protected]> | 2021-06-02 22:54:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-06-02 22:54:27 +0800 |
| commit | 8dda67ba52ed67cc3e6897849658872c2ef4ddcc (patch) | |
| tree | a6f1b6681af1d2958409e117acc39edaa6ea4e6a /tests/actions/package/localpkg/libfoo/src/foo.cpp | |
| parent | 16919177c72aa5934113d37932e0b60c8d4a52df (diff) | |
add deps for localpackages
Diffstat (limited to 'tests/actions/package/localpkg/libfoo/src/foo.cpp')
| -rw-r--r-- | tests/actions/package/localpkg/libfoo/src/foo.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/actions/package/localpkg/libfoo/src/foo.cpp b/tests/actions/package/localpkg/libfoo/src/foo.cpp new file mode 100644 index 000000000..b13e8e761 --- /dev/null +++ b/tests/actions/package/localpkg/libfoo/src/foo.cpp @@ -0,0 +1,8 @@ +#include "add.h" +#include "sub.h" +#include "foo.h" + +int foo(int a, int b) +{ + return add(sub(a, b), sub(b, a)); +} |
