aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/interfaces/ecpg/test/expected/preproc-comment.c7
-rw-r--r--src/interfaces/ecpg/test/preproc/comment.pgc3
2 files changed, 2 insertions, 8 deletions
diff --git a/src/interfaces/ecpg/test/expected/preproc-comment.c b/src/interfaces/ecpg/test/expected/preproc-comment.c
index 39d092aa9e8..23e81708eee 100644
--- a/src/interfaces/ecpg/test/expected/preproc-comment.c
+++ b/src/interfaces/ecpg/test/expected/preproc-comment.c
@@ -27,19 +27,16 @@
/* Test comment */
/*--------------------------------------------------------------------------*/
-// we also understand this style
-int k;
-
int main(void)
{
ECPGdebug(1, stderr);
{ ECPGconnect(__LINE__, 0, "regress1" , NULL,NULL , NULL, 0); }
-#line 20 "comment.pgc"
+#line 17 "comment.pgc"
{ ECPGdisconnect(__LINE__, "CURRENT");}
-#line 22 "comment.pgc"
+#line 19 "comment.pgc"
exit (0);
}
diff --git a/src/interfaces/ecpg/test/preproc/comment.pgc b/src/interfaces/ecpg/test/preproc/comment.pgc
index 5ef3b695ee5..f9218509908 100644
--- a/src/interfaces/ecpg/test/preproc/comment.pgc
+++ b/src/interfaces/ecpg/test/preproc/comment.pgc
@@ -9,9 +9,6 @@ exec sql include ../regression;
/* Test comment */
/*--------------------------------------------------------------------------*/
-// we also understand this style
-int k;
-
int main(void)
{
ECPGdebug(1, stderr);