summaryrefslogtreecommitdiff
path: root/tests/tcctest.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcctest.h')
-rw-r--r--tests/tcctest.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/tcctest.h b/tests/tcctest.h
new file mode 100644
index 0000000..b301c7c
--- /dev/null
+++ b/tests/tcctest.h
@@ -0,0 +1,9 @@
+static inline const char *get_basefile_from_header(void)
+{
+ return __BASE_FILE__;
+}
+
+static inline const char *get_file_from_header(void)
+{
+ return __FILE__;
+}