pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2008-11-21
2008-11-21 12:25:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>
deb36c7a5f5e6f8b061b60387032f8eca5487f55 (
13
lines) (+
12
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added compiler test.
Rev: src/testsuite.in:1.859
1:
START_MARKER
-
test_true([["$Id: testsuite.in,v 1.
858
2008/
10
/
13
10
:
56
:
58
mirar
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
859
2008/
11
/
21
12
:
25
:
52
grubba
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
985:
]]) test_compile_error( [[
+
// This triggs a segfault on Pike 7.4.
+
void f()
+
{
+
constant days =
+
([ "1" : "Sunday"
+
"2" : "Monday" ]);
+
}
+
]])
+
+
test_compile_error( [[
// This triggs a compiler bug on old Pike 7.5. return lambda(object (([mixed]a)->syntax_error) { return 0; }(0); ]])