diff options
Diffstat (limited to 'test cases/common/185 same target name')
4 files changed, 11 insertions, 0 deletions
diff --git a/test cases/common/185 same target name/file.c b/test cases/common/185 same target name/file.c new file mode 100644 index 0000000..9180030 --- /dev/null +++ b/test cases/common/185 same target name/file.c @@ -0,0 +1,3 @@ +int func(void) { + return 0; +} diff --git a/test cases/common/185 same target name/meson.build b/test cases/common/185 same target name/meson.build new file mode 100644 index 0000000..4e585d5 --- /dev/null +++ b/test cases/common/185 same target name/meson.build @@ -0,0 +1,4 @@ +project('same name', 'c') + +static_library('foo', 'file.c') +subdir('sub') diff --git a/test cases/common/185 same target name/sub/file2.c b/test cases/common/185 same target name/sub/file2.c new file mode 100644 index 0000000..3d1a1c3 --- /dev/null +++ b/test cases/common/185 same target name/sub/file2.c @@ -0,0 +1,3 @@ +int func(void) { + return 5; +} diff --git a/test cases/common/185 same target name/sub/meson.build b/test cases/common/185 same target name/sub/meson.build new file mode 100644 index 0000000..610a4a3 --- /dev/null +++ b/test cases/common/185 same target name/sub/meson.build @@ -0,0 +1 @@ +static_library('foo', 'file2.c') |