diff --git a/lib/7.8/modules/testsuite.in b/lib/7.8/modules/testsuite.in index 152897f968ffda98bc6ca265dc39c66b852b19a5..7cbe02b987646447f21c9a14edf55e146b34f979 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