diff options
Diffstat (limited to '')
-rw-r--r-- | test cases/unit/7 run installed/foo/foo.c | 3 | ||||
-rw-r--r-- | test cases/unit/7 run installed/foo/meson.build | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test cases/unit/7 run installed/foo/foo.c b/test cases/unit/7 run installed/foo/foo.c new file mode 100644 index 0000000..402c895 --- /dev/null +++ b/test cases/unit/7 run installed/foo/foo.c @@ -0,0 +1,3 @@ +int foo() { + return 0; +} diff --git a/test cases/unit/7 run installed/foo/meson.build b/test cases/unit/7 run installed/foo/meson.build new file mode 100644 index 0000000..772b181 --- /dev/null +++ b/test cases/unit/7 run installed/foo/meson.build @@ -0,0 +1,6 @@ +# Try to invoke linker constant string deduplication, +# to ensure we are not clobbering shared strings. +# Name everything possible just as "foo". +foolib = shared_library('foo', 'foo.c', + install_dir : 'foo', + install : true) |