aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/40 external, internal library rpath/built library/prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/40 external, internal library rpath/built library/prog.c')
-rw-r--r--meson/test cases/unit/40 external, internal library rpath/built library/prog.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/meson/test cases/unit/40 external, internal library rpath/built library/prog.c b/meson/test cases/unit/40 external, internal library rpath/built library/prog.c
new file mode 100644
index 000000000..e3d4cf63f
--- /dev/null
+++ b/meson/test cases/unit/40 external, internal library rpath/built library/prog.c
@@ -0,0 +1,7 @@
+int bar_built_value (int in);
+
+int main (int argc, char *argv[])
+{
+ // this will evaluate to 0
+ return bar_built_value(10) - (42 + 1969 + 10);
+}