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.
741
2004/10/
30
11
:
38
:
28
mast Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
742
2004/10/
31
22
:
35
:
45
mast 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:7621:
compile_string("#define FOO\n" "#define TOSTR(X) #X\n" "#define TOSTR2(X) TOSTR(X)\n" "constant val = TOSTR2(FOO);\n")()->val; ]], "") test_equal([[ compile_string(Locale.Charset.encoder("ebcdic-us")-> feed("#charset ebcdic-us\n" "constant val = \"abc\";\n")->drain())()->val; ]], "abc")
+
test_eq([[cpp("\\\n")]], "# 1 \"-\"\n\n")
+
test_eq([[cpp("#if 1\\\n-1\nfoo\n#endif\n")]], "# 1 \"-\"\n\n\n\n\n")
// The following three tests are in triplicate to force testing in all shifts. test_do([[ #define FOO(X) X string s = FOO (#"a b c"); ]]); test_do([[ #define FOO(X) X