aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/preproc/comment.pgc
blob: 5ef3b695ee5334de06cb1c89e8d9e10fe32d9fd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <stdlib.h>

exec sql include ../regression;

/* just a test comment */ int i;
/* just a test comment int j*/;

/****************************************************************************/
/* Test comment                                                             */
/*--------------------------------------------------------------------------*/

// we also understand this style
int k;

int main(void)
{
  ECPGdebug(1, stderr);

  exec sql --this is a comment too
  connect to REGRESSDB1;

  exec sql disconnect;
  exit (0);
}