diff options
| author | ruki <[email protected]> | 2017-11-10 23:57:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-11-10 17:45:33 +0800 |
| commit | 64875f84837a3b447d95b38ccce29bcdb57f8dd5 (patch) | |
| tree | 50cf88c7c730f3a179b61a1084e6297d42433d3c /tests/apis/rules/src/main.c | |
| parent | 24bdac45ba26a318fd07b2bad0baa6d1bdc28fa9 (diff) | |
add rules test
Diffstat (limited to 'tests/apis/rules/src/main.c')
| -rw-r--r-- | tests/apis/rules/src/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/apis/rules/src/main.c b/tests/apis/rules/src/main.c new file mode 100644 index 000000000..b86c9ad8e --- /dev/null +++ b/tests/apis/rules/src/main.c @@ -0,0 +1,8 @@ +#include <stdio.h> + +extern int test(int a, int b); +int main(int argc, char** argv) +{ + printf("1 + 1 = %d\n", test(1, 1)); + return 0; +} |
