summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/cross-lang-lto-clang/clib.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make-fulldeps/cross-lang-lto-clang/clib.c')
-rw-r--r--tests/run-make-fulldeps/cross-lang-lto-clang/clib.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run-make-fulldeps/cross-lang-lto-clang/clib.c b/tests/run-make-fulldeps/cross-lang-lto-clang/clib.c
new file mode 100644
index 000000000..90f33f24d
--- /dev/null
+++ b/tests/run-make-fulldeps/cross-lang-lto-clang/clib.c
@@ -0,0 +1,9 @@
+#include <stdint.h>
+
+uint32_t c_always_inlined() {
+ return 1234;
+}
+
+__attribute__((noinline)) uint32_t c_never_inlined() {
+ return 12345;
+}