pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:25:19 by Martin Nilsson <nilsson@opera.com>
e41c0680c6b6f6ab99582a13ba381dc5ef1a8b1f (
13
lines) (+
12
/-
1
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
#if efun is documented as deprecated. Don't use it.
5:
test_compile_any([[#pike 7.4]]) test_compile_any([[#pike 7.0]]) test_compile_any([[#pike 0.6]])
+
test_compile_any([[#pike 7.6]])
+
test_compile_any([[#pike 7.8]])
cond([[all_constants()->_verify_internals]], [[
10271:
// add_constant test_do(add_constant("foobar",lambda() { return 1; })) test_any([[
+
#if constant(foobar)
+
return 1;
+
#else
+
return 0;
+
#endif
+
]],1)
+
test_any([[
+
#pike 7.8
#if efun(foobar) return 1; #else
10280:
test_eq(foobar(),1) test_do(add_constant("foobar")) test_any([[
-
#if
efun
(foobar)
+
#if
constant
(foobar)
return 1; #else return 0;