Branch: Tag:

2007-10-22

2007-10-22 10:58:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added test for double expansion.

Rev: src/testsuite.in:1.792

1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.791 2007/10/20 13:49:36 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.792 2007/10/22 10:58:02 grubba Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])
8212:   #include FILENAME   ]], 17)    + test_any([[ + // Double expansion + string FILENAME = ""; + #define FILENAME "conftest.h" + FILENAME + return #string FILENAME; + ]], "return 17;\n") +    test_true( rm("conftest.h") )      test_true(intp(__LINE__))