diff options
Diffstat (limited to 'src/interfaces/ecpg/test/expected/preproc-strings.c')
-rw-r--r-- | src/interfaces/ecpg/test/expected/preproc-strings.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/interfaces/ecpg/test/expected/preproc-strings.c b/src/interfaces/ecpg/test/expected/preproc-strings.c index b72d9eeadd0..dd13cf36cf0 100644 --- a/src/interfaces/ecpg/test/expected/preproc-strings.c +++ b/src/interfaces/ecpg/test/expected/preproc-strings.c @@ -7,8 +7,6 @@ #define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y)) #line 1 "strings.pgc" -#include <stdlib.h> - #line 1 "regression.h" @@ -18,15 +16,16 @@ #line 3 "strings.pgc" - - /* exec sql begin declare section */ +#line 1 "strings.h" -#line 6 "strings.pgc" +#line 5 "strings.pgc" + +#line 1 "strings.h" char * s1 , * s2 , * s3 , * s4 , * s5 , * s6 ; /* exec sql end declare section */ -#line 7 "strings.pgc" +#line 5 "strings.pgc" int main(void) @@ -34,11 +33,11 @@ int main(void) ECPGdebug(1, stderr); { ECPGconnect(__LINE__, 0, "regress1" , NULL, NULL , NULL, 0); } -#line 13 "strings.pgc" +#line 11 "strings.pgc" { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "set standard_conforming_strings to on", ECPGt_EOIT, ECPGt_EORT);} -#line 15 "strings.pgc" +#line 13 "strings.pgc" { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "select 'abcdef' , N'abcdef' as foo , E'abc\\bdef' as \"foo\" , U&'d\\0061t\\0061' as U&\"foo\" , U&'d!+000061t!+000061' uescape '!' , $foo$abc$def$foo$", ECPGt_EOIT, @@ -54,13 +53,13 @@ int main(void) ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_char,&(s6),(long)0,(long)1,(1)*sizeof(char), ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EORT);} -#line 23 "strings.pgc" +#line 21 "strings.pgc" printf("%s %s %s %s %s %s\n", s1, s2, s3, s4, s5, s6); { ECPGdisconnect(__LINE__, "CURRENT");} -#line 27 "strings.pgc" +#line 25 "strings.pgc" - exit (0); + return (0); } |