pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2014-02-17
2014-02-17 16:28:41 by Martin Nilsson <nilsson@opera.com>
3daf98c0772e77a50ac48d4ce72ab35dc5ca5785 (
13
lines) (+
12
/-
1
)
[
Show
|
Annotate
]
Branch:
8.0
#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;