summaryrefslogtreecommitdiff
path: root/tests/preprocessor
diff options
context:
space:
mode:
Diffstat (limited to 'tests/preprocessor')
-rw-r--r--tests/preprocessor/pragma-once.slang4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/preprocessor/pragma-once.slang b/tests/preprocessor/pragma-once.slang
index fe805f82f..02db6e3b3 100644
--- a/tests/preprocessor/pragma-once.slang
+++ b/tests/preprocessor/pragma-once.slang
@@ -27,6 +27,10 @@
#include "pragma-once-a.h"
#include "pragma-once-b.h"
+// Make sure relative paths are handled
+#include "./pragma-once-a.h"
+#include "./pragma-once-a.h"
+
// Now let's use both the function and the
// macro, to confirm that they are both
// defined as expected.