From 4f64abfa02b320f377b274bf0ec2b4526f5de0f8 Mon Sep 17 00:00:00 2001
From: Virgile Prevosto <virgile.prevosto@m4x.org>
Date: Tue, 14 Jan 2020 18:31:50 +0100
Subject: [PATCH] [tests] new test for behavior of __FC_ASSERT_FILE in presence
 of include

---
 tests/syntax/assert_location.c | 5 +++++
 tests/syntax/assert_location.h | 5 +++++
 2 files changed, 10 insertions(+)
 create mode 100644 tests/syntax/assert_location.c
 create mode 100644 tests/syntax/assert_location.h

diff --git a/tests/syntax/assert_location.c b/tests/syntax/assert_location.c
new file mode 100644
index 00000000000..b9575ad6a32
--- /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 00000000000..772012e2415
--- /dev/null
+++ b/tests/syntax/assert_location.h
@@ -0,0 +1,5 @@
+#include "assert.h"
+
+void h() {
+  assert("I'm in assert_location.h");
+}
-- 
GitLab