# file : libbuild2/cc/lexer+preprocessor.test.testscript # license : MIT; see accompanying LICENSE file # Test preprocessor lines. # : normal : $* <>EOO ; # 1 "test.cxx" 2 ; ; # 4 ; #line 8 "z:\\tmp\\test.hxx" ; #line 10 ; # 5 "test.cxx" ; EOI ';' :1:1 ';' test.cxx:1:1 ';' test.cxx:2:3 ';' test.cxx:4:1 ';' z:\tmp\test.hxx:8:1 ';' z:\tmp\test.hxx:10:1 ';' test.cxx:5:1 EOO : include : $* <>EOE != 0 #include EOI :1:1: error: unexpected #include directive EOE : nested : $* <>EOO #define FOO(x) #y ; EOI ';' EOO