diff --git a/tests/syntax/assert_location.c b/tests/syntax/assert_location.c
new file mode 100644
index 0000000000000000000000000000000000000000..b9575ad6a324872dcae8e455980260682fb84217
--- /dev/null
+++ b/tests/syntax/assert_location.c
@@ -0,0 +1,5 @@
+#include "assert_location.h"
+
+void c() {
+  assert("I'm in assert_location.c");
+}
diff --git a/tests/syntax/assert_location.h b/tests/syntax/assert_location.h
new file mode 100644
index 0000000000000000000000000000000000000000..772012e2415b9bd42b34a888e09982c0888ee221
--- /dev/null
+++ b/tests/syntax/assert_location.h
@@ -0,0 +1,5 @@
+#include "assert.h"
+
+void h() {
+  assert("I'm in assert_location.h");
+}