| 103 | |
| 104 | |
| 105 | int |
| 106 | main (void) |
| 107 | { |
| 108 | /* exec sql begin declare section */ |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | #line 19 "array.pgc" |
| 121 | int i = 1 , j ; |
| 122 | |
| 123 | #line 20 "array.pgc" |
| 124 | int * did = & i ; |
| 125 | |
| 126 | #line 21 "array.pgc" |
| 127 | short a [ 10 ] = { 9 , 8 , 7 , 6 , 5 , 4 , 3 , 2 , 1 , 0 } ; |
| 128 | |
| 129 | #line 22 "array.pgc" |
| 130 | timestamp ts [ 10 ] ; |
| 131 | |
| 132 | #line 23 "array.pgc" |
| 133 | date d [ 10 ] ; |
| 134 | |
| 135 | #line 24 "array.pgc" |
| 136 | interval in [ 10 ] ; |
| 137 | |
| 138 | #line 25 "array.pgc" |
| 139 | numeric n [ 10 ] ; |
| 140 | |
| 141 | #line 26 "array.pgc" |
| 142 | char text [ 25 ] = "klmnopqrst" ; |
| 143 | |
| 144 | #line 27 "array.pgc" |
| 145 | char * t = ( char * ) malloc ( 11 ) ; |
| 146 | |
| 147 | #line 28 "array.pgc" |
| 148 | double f ; |
| 149 | /* exec sql end declare section */ |
| 150 | #line 29 "array.pgc" |
| 151 | |
| 152 | |
| 153 | strcpy(t, "0123456789"); |
| 154 | setlocale(LC_ALL, "C"); |
| 155 | |
| 156 | ECPGdebug(1, stderr); |
| 157 | |
| 158 | for (j = 0; j < 10; j++) { |
| 159 | char str[28]; |
| 160 | numeric *value; |
| 161 | interval *inter; |
| 162 |
nothing calls this directly
no test coverage detected