aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/13 pch/userDefined/prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/13 pch/userDefined/prog.c')
-rw-r--r--meson/test cases/common/13 pch/userDefined/prog.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson/test cases/common/13 pch/userDefined/prog.c b/meson/test cases/common/13 pch/userDefined/prog.c
new file mode 100644
index 000000000..475131b35
--- /dev/null
+++ b/meson/test cases/common/13 pch/userDefined/prog.c
@@ -0,0 +1,8 @@
+// No includes here, they need to come from the PCH
+
+int main(void) {
+ // Method is implemented in pch.c.
+ // This makes sure that we can properly handle user defined
+ // pch implementation files and not only auto-generated ones.
+ return foo();
+}