pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2016-05-06
2016-05-06 10:48:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>
c92b8eff8b01139f66435755d89f0eae3fcf14e8 (
19
lines) (+
19
/-
0
)
[
Show
|
Annotate
]
Branch:
8.1
Compiler: this_function now obeys the inherit specifier.
1099:
"D", ({ "get_a", "get_b", "get_c", "get_d" }) })) test_any([[
+
class O {
+
string foo() { return "O"; };
+
class A { string foo() { return "A"; } };
+
class B { string foo() { return "B"; } };
+
class C {
+
inherit A;
+
inherit B;
+
string foo() {
+
return "C" + ::this_function() * ":" +
+
"C" + A::this_function() +
+
"C" + B::this_function() +
+
"C" + O::this_function() + "C"; }
+
};
+
};
+
return O()->C()->foo();
+
]], "CA:BCACBCOC")
+
+
test_any([[
// Test that backtraces with prototypes are rendered correctly by // describe_backtrace() et al. These backtraces have caused both // "Bad offset" and "Identifier reference index out of range".