diff --git a/src/interfaces/ecpg/test/expected/preproc-comment.c b/src/interfaces/ecpg/test/expected/preproc-comment.c
index 39d092aa9e8506c0dc45d5a8cde7355584d672c3..23e81708eeefa0a069a4429729bd11bea6c4ce4d 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 5ef3b695ee5334de06cb1c89e8d9e10fe32d9fd7..f9218509908c0fb168ad2a624fd21c47415ca3c6 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);