~ubuntu-branches/ubuntu/hardy/postgresql-8.4/hardy-backports

« back to all changes in this revision

Viewing changes to src/interfaces/ecpg/test/expected/preproc-comment.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Processed by ecpg (regression mode) */
 
2
/* These include files are added by the preprocessor */
 
3
#include <ecpglib.h>
 
4
#include <ecpgerrno.h>
 
5
#include <sqlca.h>
 
6
/* End of automatic include section */
 
7
#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
 
8
 
 
9
#line 1 "comment.pgc"
 
10
#include <stdlib.h>
 
11
 
 
12
 
 
13
#line 1 "regression.h"
 
14
 
 
15
 
 
16
 
 
17
 
 
18
 
 
19
 
 
20
#line 3 "comment.pgc"
 
21
 
 
22
 
 
23
/* just a test comment */ int i;
 
24
/* just a test comment int j*/;
 
25
 
 
26
/****************************************************************************/
 
27
/* Test comment                                                             */
 
28
/*--------------------------------------------------------------------------*/
 
29
 
 
30
int main(void)
 
31
{
 
32
  ECPGdebug(1, stderr);
 
33
 
 
34
  { ECPGconnect(__LINE__, 0, "regress1" , NULL, NULL , NULL, 0); }
 
35
#line 17 "comment.pgc"
 
36
 
 
37
 
 
38
  { ECPGdisconnect(__LINE__, "CURRENT");}
 
39
#line 19 "comment.pgc"
 
40
 
 
41
  exit (0);
 
42
}
 
43