From 0b33c562970e4f23d2fa06b05a6e30254daef3aa Mon Sep 17 00:00:00 2001
From: Michael Meskes <meskes@postgresql.org>
Date: Fri, 8 Sep 2006 14:58:27 +0000
Subject: [PATCH] Not all C compilers understand the "//" comment in this test
 case, so I removed it.

---
 src/interfaces/ecpg/test/expected/preproc-comment.c | 7 ++-----
 src/interfaces/ecpg/test/preproc/comment.pgc        | 3 ---
 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);
-- 
GitLab