diff --git a/v2/test/generators-test/lex.jam b/v2/test/generators-test/lex.jam index 81ae22fd3..b6bf5cfbb 100644 --- a/v2/test/generators-test/lex.jam +++ b/v2/test/generators-test/lex.jam @@ -7,12 +7,20 @@ import type ; import generators ; import feature ; import property ; +import print ; type.register LEX : l ; generators.register-standard lex.lex : LEX : C ; +rule lex ( targets * : sources * : properties * ) +{ + print.output $(<) ; + # Need to supress SunCC's warning about empty source + # file. + print.text "void foo() {}" ; +} + actions lex { - touch $(<) } \ No newline at end of file