pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2001-03-31
2001-03-31 15:21:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>
fde244bbe0dff6db7e80f03875c900a66c53e64d (
6
lines) (+
5
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added some tests for class(type ... var).
Rev: src/testsuite.in:1.398
1:
-
test_true([["$Id: testsuite.in,v 1.
397
2001/03/
23
00
:
50
:
45
mast
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
398
2001/03/
31
15
:
21
:
47
grubba
Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
3947:
test_true(programp(class c(){})) test_equal(indices(class c(string a,static int b){}("foo",0)), ({"a"})) test_equal(values(class c(string a,static int b){}("foo",0)), ({"foo"}))
+
test_true(programp(class c(string ... a){}))
+
test_equal(indices(class c(string a,static int ... b){}("foo",0)), ({"a"}))
+
test_equal(values(class c(static string a, int ... b){}("foo",0)), ({({0})}))
// type checks test_compile_error([[} int foo() { return]]);