diff options
Diffstat (limited to 'test cases/common/153 wrap file should not failed/subprojects/foo-1.0-patchfile')
3 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/153 wrap file should not failed/subprojects/foo-1.0-patchfile/.meson-subproject-wrap-hash.txt b/test cases/common/153 wrap file should not failed/subprojects/foo-1.0-patchfile/.meson-subproject-wrap-hash.txt new file mode 100644 index 0000000..81b251f --- /dev/null +++ b/test cases/common/153 wrap file should not failed/subprojects/foo-1.0-patchfile/.meson-subproject-wrap-hash.txt @@ -0,0 +1 @@ +0af7983865d151deb48307cc86e9631767501d73016dcf6193523e306caa5485 diff --git a/test cases/common/153 wrap file should not failed/subprojects/foo-1.0-patchfile/foo.c b/test cases/common/153 wrap file should not failed/subprojects/foo-1.0-patchfile/foo.c new file mode 100644 index 0000000..d78f25c --- /dev/null +++ b/test cases/common/153 wrap file should not failed/subprojects/foo-1.0-patchfile/foo.c @@ -0,0 +1,7 @@ +int dummy_func(void) { + return 44; +} + +int main(void) { + return dummy_func() == 44 ? 0 : 1; +} diff --git a/test cases/common/153 wrap file should not failed/subprojects/foo-1.0-patchfile/meson.build b/test cases/common/153 wrap file should not failed/subprojects/foo-1.0-patchfile/meson.build new file mode 100644 index 0000000..ae5d800 --- /dev/null +++ b/test cases/common/153 wrap file should not failed/subprojects/foo-1.0-patchfile/meson.build @@ -0,0 +1,2 @@ +project('static lib patchdir', 'c') +foo_exe = executable('foo', 'foo.c') |