From 5e68022fee7ebb40963d3efbf54847295f5bcdd7 Mon Sep 17 00:00:00 2001 From: "benjamin.franksen" <benjamin.franksen@helmholtz-berlin.de> Date: Wed, 9 Oct 2013 21:34:01 +0000 Subject: [PATCH] test: added cppComment.st --- test/compiler/Makefile | 1 + test/compiler/cppComment.st | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 test/compiler/cppComment.st diff --git a/test/compiler/Makefile b/test/compiler/Makefile index 40f38f85..a7e127f9 100644 --- a/test/compiler/Makefile +++ b/test/compiler/Makefile @@ -22,6 +22,7 @@ TESTSCRIPTS_HOST += snc_test.t TESTPROD_HOST += type_expr TESTPROD_HOST += funcdef +TESTPROD_HOST += cppComment PROD_LIBS += seq pv PROD_LIBS += $(EPICS_BASE_IOC_LIBS) diff --git a/test/compiler/cppComment.st b/test/compiler/cppComment.st new file mode 100644 index 00000000..c1bbbc1e --- /dev/null +++ b/test/compiler/cppComment.st @@ -0,0 +1,11 @@ +program cppCommentTest // ("parm=bla + +// #include "../na.st" +#include "../simple.st" + +exit { + // intt x; + int x = 0+0-0*0; // funny initialiser + // return x; + printf("%d", x); +} -- GitLab