diff options
Diffstat (limited to 'tests/projects/package/basic/src')
| -rwxr-xr-x | tests/projects/package/basic/src/main.c | 5 | ||||
| -rw-r--r-- | tests/projects/package/basic/src/test.c | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/projects/package/basic/src/main.c b/tests/projects/package/basic/src/main.c index 9ae580511..740b34694 100755 --- a/tests/projects/package/basic/src/main.c +++ b/tests/projects/package/basic/src/main.c @@ -1,7 +1,12 @@ #include <stdio.h> +#include <pcre2.h> + +int test(); int main(int argc, char** argv) { printf("hello world!\n"); + pcre2_compile(0, 0, 0, 0, 0, 0); + test(); return 0; } diff --git a/tests/projects/package/basic/src/test.c b/tests/projects/package/basic/src/test.c new file mode 100644 index 000000000..e711dd197 --- /dev/null +++ b/tests/projects/package/basic/src/test.c @@ -0,0 +1,10 @@ +#include <stdio.h> +#include <pcre2.h> + +int test() +{ + printf("hello world!\n"); + pcre2_compile(0, 0, 0, 0, 0, 0); + return 0; +} + |
