aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/test3.pgc
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/test/test3.pgc')
-rw-r--r--src/interfaces/ecpg/test/test3.pgc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/test3.pgc b/src/interfaces/ecpg/test/test3.pgc
index 6f0afccc75b..2cdde342003 100644
--- a/src/interfaces/ecpg/test/test3.pgc
+++ b/src/interfaces/ecpg/test/test3.pgc
@@ -11,9 +11,8 @@ exec sql type str is varchar[10];
int
main ()
{
- typedef struct { long born; short age; } birthinfo;
- exec sql type birthinfo is struct { long born; short age; };
exec sql begin declare section;
+ typedef struct { long born; short age; } birthinfo;
struct personal_struct { str name;
birthinfo birth;
} personal;