summaryrefslogtreecommitdiff
path: root/test cases/unit
diff options
context:
space:
mode:
authorL. E. Segovia <amy@amyspark.me>2022-10-30 13:05:40 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2022-11-01 17:56:18 +0200
commit7e5b0760ce18666c7b1a42f97ca29ce03406e21b (patch)
tree1d38a4770efe0bd2be5da9bf67a712926d9f47a9 /test cases/unit
parent21f86fa90209538b1d9cc9aa3aaa1d8dc884137f (diff)
downloadmeson-7e5b0760ce18666c7b1a42f97ca29ce03406e21b.tar.gz
minstall: make do_strip run with -Sx for macOS targets
This commit also adds some extra symbol noise to lib.c, in order to aid detection of the debug information with nm. Fixes #10943
Diffstat (limited to 'test cases/unit')
-rw-r--r--test cases/unit/103 strip/lib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test cases/unit/103 strip/lib.c b/test cases/unit/103 strip/lib.c
index 3940fde7e..7d8163c3b 100644
--- a/test cases/unit/103 strip/lib.c
+++ b/test cases/unit/103 strip/lib.c
@@ -1 +1,3 @@
-void func(void){}
+#include <stdio.h>
+
+void func(void){ fprintf(stderr, "Test 1 2 3\n"); }