pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:1:
START_MARKER
-
test_true([["$Id: testsuite.in,v 1.
755
2005/
05
/
17
22
:
31
:
50
nilsson
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
756
2005/
07
/
13
18
:
16
:
29
grubba
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]]) test_compile_any([[#pike 7.4]]) test_compile_any([[#pike 7.0]]) test_compile_any([[#pike 0.6]]) cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals())
pike.git/src/testsuite.in:2433:
mixed foo; mapping query_variables() { return ([]); }; mixed foo(mixed bar) { return 1/foo; } ]]) test_compile_error_any([[ class A {int wrong = "bogus"; void create() {}} class B {inherit A;} ]])
+
test_any([[
+
// Test dynamic module indexing.
+
object protocols = Protocols;
+
return protocols.HTTP.get_url_data;
+
]], [[ Protocols.HTTP.get_url_data ]])
test_compile([[float x=(gauge { return; },1.0);]]) cond( [[ master()->resolv("Gmp")->mpz ]], [[ test_compile_error([[object x = Gmp.mpz(17); constant y = x;]]) ]]) test_any([[object(Stdio.File) f; f=Stdio.File(); return 1]],1) test_compile([[float t=gauge { string foo; };]]) test_compile_any([[class { object(Stdio.FILE) f; void create() { f=Stdio.FILE(); }}]]) test_eq([[compile_string("#define A(X) (X)\nint x() { return A \n\t(1); }")()->x()]],1)