diff options
Diffstat (limited to 'src/interfaces/ecpg/test/preproc/autoprep.pgc')
-rw-r--r-- | src/interfaces/ecpg/test/preproc/autoprep.pgc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/preproc/autoprep.pgc b/src/interfaces/ecpg/test/preproc/autoprep.pgc index d774038558d..eeeb879d105 100644 --- a/src/interfaces/ecpg/test/preproc/autoprep.pgc +++ b/src/interfaces/ecpg/test/preproc/autoprep.pgc @@ -5,7 +5,7 @@ /* test automatic prepare for all statements */ EXEC SQL INCLUDE ../regression; -int main() { +static void test(void) { EXEC SQL BEGIN DECLARE SECTION; int item[4], ind[4], i = 1; int item1, ind1; @@ -62,6 +62,11 @@ int main() { EXEC SQL DROP TABLE T; EXEC SQL DISCONNECT ALL; +} + +int main() { + test(); + test(); /* retry */ return 0; } |