]> granicus.if.org Git - postgresql/commitdiff
Not all C compilers understand the "//" comment in this test case, so I removed it.
authorMichael Meskes <meskes@postgresql.org>
Fri, 8 Sep 2006 14:58:27 +0000 (14:58 +0000)
committerMichael Meskes <meskes@postgresql.org>
Fri, 8 Sep 2006 14:58:27 +0000 (14:58 +0000)
src/interfaces/ecpg/test/expected/preproc-comment.c
src/interfaces/ecpg/test/preproc/comment.pgc

index 39d092aa9e8506c0dc45d5a8cde7355584d672c3..23e81708eeefa0a069a4429729bd11bea6c4ce4d 100644 (file)
 /* 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);
 }
index 5ef3b695ee5334de06cb1c89e8d9e10fe32d9fd7..f9218509908c0fb168ad2a624fd21c47415ca3c6 100644 (file)
@@ -9,9 +9,6 @@ exec sql include ../regression;
 /* Test comment                                                             */
 /*--------------------------------------------------------------------------*/
 
-// we also understand this style
-int k;
-
 int main(void)
 {
   ECPGdebug(1, stderr);