pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2008-05-06
2008-05-06 19:48:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>
2166c00966aabbfd5c68405bf035cafff3544957 (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added some trivial tests of __func__.
Rev: src/testsuite.in:1.806
1:
START_MARKER
-
test_true([["$Id: testsuite.in,v 1.
805
2008/05/
03
21
:
21
:
31
grubba Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
806
2008/05/
06
19
:
48
:
18
grubba Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
46:
class Foo { inherit Bar; array(int) foo = ({1}); }; return sizeof(Foo()->foo);]],1);
+
# __func__
+
test_eq(__func__, "a")
+
test_eq("b", __func__)
+
test_eq(8, 0b1000); test_eq(-8, -0b1000); test_eq(16, 0b10000);