From 5a34a3723fb58bd9ad190573a33c2eb7c8ba86da Mon Sep 17 00:00:00 2001
From: Martin Nilsson <nilsson@opera.com>
Date: Sat, 10 May 2014 18:52:30 +0200
Subject: [PATCH] Move 7.8 tests to the 7.8 compat code directory.

---
 lib/7.8/modules/testsuite.in | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/lib/7.8/modules/testsuite.in b/lib/7.8/modules/testsuite.in
index 152897f968..7cbe02b987 100644
--- a/lib/7.8/modules/testsuite.in
+++ b/lib/7.8/modules/testsuite.in
@@ -265,4 +265,16 @@ test_any([[
   return proxy->crypt("123");
 ]], "")
 
+
+test_do(add_constant("foobar",lambda() { return 1; }))
+test_any([[
+#pike 7.8
+#if efun(foobar)
+return 1;
+#else
+return 0;
+#endif
+]],1)
+test_do(add_constant("foobar"))
+
 END_MARKER
-- 
GitLab