pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2002-09-21
2002-09-21 15:09:04 by Martin Stjernholm <mast@lysator.liu.se>
934a66071e2443aaf771a934064710b340f943d8 (
9
lines) (+
8
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added test case for the local::-on-variables error.
Rev: src/testsuite.in:1.538
1:
-
test_true([["$Id: testsuite.in,v 1.
537
2002/09/
15
23
:
12
:
40
nilsson
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
538
2002/09/
21
15:
09
:
04
mast
Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
2437:
return blorg()->goo(); ]],3)
+
test_compile_error_any([[class X {int x; int f() {return local::x;}}]])
+
test_compile_any([[
+
#pike 7.2
+
class X {int x; int f() {return local::x;}}
+
]])
+
// Testing the 'inline' keyword test_program([[class foo { inline int c() { return time(); } int d() { return c(); } }; class bar { inherit foo; int c() { return 0; } } int a() { return bar()->d(); }]],0)