pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1999-12-02
1999-12-02 19:16:50 by Mirar (Pontus Hagland) <pike@sort.mirar.org>
ae60c21c429c73b043ad7b239dca368e9f65f6ce (
8
lines) (+
7
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
added some more test to test that scopes work correct
Rev: src/testsuite.in:1.242
1:
-
test_true([["$Id: testsuite.in,v 1.
241
1999/
11
/
27
14
:
48
:
25
mast
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
242
1999/
12
/
02
19
:
16
:
50
mirar
Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
188:
} ]])
+
+
test_compile_any([[int log() { return 17; } class Greta { int hanna() { return log(); } }]])
+
test_compile_any([[int kajsa(int a,int b) { return 17; } class Jenny { int kajsa() { return 17; } class Greta { int hanna() { return kajsa(); } } }]])
+
test_any([[add_constant("kajsa",lambda(int a,int b) { return 17; }); return compile_string("int kajsa() { return 17; } class Greta { int hanna() { return kajsa(); } }")()->kajsa()]],1)
+
test_compile([[Stdio.File foo=Stdio.File();]]) test_compile([[ string|multiset(string) foo; array(string) gazonk;