pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2011-03-23
2011-03-23 19:18:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>
5adf9410a5c4eb927726d88d1c4d0d2ef7151c5e (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Testsuite: time(1) is not a compile-time constant...
6663:
test_true([[Pike.count_memory (0, class X {mapping(X:array(int)) x;}) > Pike.count_memory (0, class Y {int x;})]]) test_true([[Pike.count_memory (0, ({compile (
-
"constant x = ([1: time(1)]);")})) >
+
"constant x = ([1:
" +
time(1)
+
+
"
]);")})) >
Pike.count_memory (0, ({([1: time(1)])}))]]) test_eq([[count_memory_stats (-1, ({time(1)}))]], [["i:1,c:0,e:0,v:1,r:0,rnd:1"]])