Changeset 906
- Timestamp:
- Dec 15, 2003, 9:33:09 PM (22 years ago)
- Location:
- trunk/testcase
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/testcase/570c.c
-
Property cvs2svn:cvs-rev
changed from
1.6
to1.7
r905 r906 84 84 85 85 86 /* 87 * Parameters. 88 */ 89 int ParamArgs( 90 void (* _System pfn1Void)(int a, int b, int c, int d), 91 void * (* _System pfn1PVoid)(int a, int b, int c, int d), 92 int (* _System pfn1Int)(int a, int b, int c, int d), 93 PTYPE (* _System pfn1PType)(int a, int b, int c, int d), 94 void (_System * pfn2Void)(int a, int b, int c, int d), 95 void * (_System * pfn2PVoid)(int a, int b, int c, int d), 96 int (_System * pfn2Int)(int a, int b, int c, int d), 97 PTYPE (_System * pfn2PType)(int a, int b, int c, int d) 98 ) 99 { 100 pfn1Void(1,2,3,4); 101 pfn1PVoid(1,2,3,4); 102 pfn1Int(1,2,3,4); 103 pfn1PType(1,2,3,4); 104 105 pfn2Void(1,2,3,4); 106 pfn2PVoid(1,2,3,4); 107 pfn2Int(1,2,3,4); 108 pfn2PType(1,2,3,4); 109 return 0; 110 } 111 112 86 113 87 114 int DoC(int a, int b, int c, int d) … … 172 199 PVar2PType(1,2,3,4); 173 200 201 /* parameters */ 202 ParamArgs(Void, PVoid, Int, PType, 203 Void, PVoid, Int, PType); 204 205 174 206 return 0; 175 207 } -
Property cvs2svn:cvs-rev
changed from
-
trunk/testcase/570main.cpp
-
Property cvs2svn:cvs-rev
changed from
1.6
to1.7
r905 r906 116 116 117 117 118 /* 119 * Parameters. 120 */ 121 int ParamArgs( 122 void (* _System pfn1Void)(int a, int b, int c, int d), 123 void * (* _System pfn1PVoid)(int a, int b, int c, int d), 124 int (* _System pfn1Int)(int a, int b, int c, int d), 125 PTYPE (* _System pfn1PType)(int a, int b, int c, int d), 126 void (_System * pfn2Void)(int a, int b, int c, int d), 127 void * (_System * pfn2PVoid)(int a, int b, int c, int d), 128 int (_System * pfn2Int)(int a, int b, int c, int d), 129 PTYPE (_System * pfn2PType)(int a, int b, int c, int d) 130 ) 131 { 132 pfn1Void(1,2,3,4); 133 pfn1PVoid(1,2,3,4); 134 pfn1Int(1,2,3,4); 135 pfn1PType(1,2,3,4); 136 137 pfn2Void(1,2,3,4); 138 pfn2PVoid(1,2,3,4); 139 pfn2Int(1,2,3,4); 140 pfn2PType(1,2,3,4); 141 return 0; 142 } 143 118 144 119 145 … … 222 248 PVar2PType(1,2,3,4); 223 249 250 /* parameters */ 251 ParamArgs(Void, PVoid, Int, PType, 252 Void, PVoid, Int, PType); 253 254 224 255 /* test C stuff */ 225 256 DoC(); -
Property cvs2svn:cvs-rev
changed from
-
trunk/testcase/572c.c
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r905 r906 84 84 85 85 86 /* 87 * Parameters. 88 */ 89 int ParamArgs( 90 void (* _Optlink pfn1Void)(int a, int b, int c, int d), 91 void * (* _Optlink pfn1PVoid)(int a, int b, int c, int d), 92 int (* _Optlink pfn1Int)(int a, int b, int c, int d), 93 PTYPE (* _Optlink pfn1PType)(int a, int b, int c, int d), 94 void (_Optlink * pfn2Void)(int a, int b, int c, int d), 95 void * (_Optlink * pfn2PVoid)(int a, int b, int c, int d), 96 int (_Optlink * pfn2Int)(int a, int b, int c, int d), 97 PTYPE (_Optlink * pfn2PType)(int a, int b, int c, int d) 98 ) 99 { 100 pfn1Void(1,2,3,4); 101 pfn1PVoid(1,2,3,4); 102 pfn1Int(1,2,3,4); 103 pfn1PType(1,2,3,4); 104 105 pfn2Void(1,2,3,4); 106 pfn2PVoid(1,2,3,4); 107 pfn2Int(1,2,3,4); 108 pfn2PType(1,2,3,4); 109 return 0; 110 } 111 112 86 113 int DoC(int a, int b, int c, int d) 87 114 { … … 170 197 PVar2PType(1,2,3,4); 171 198 199 /* parameters */ 200 ParamArgs(CVoid, CPVoid, CInt, CPType, 201 CVoid, CPVoid, CInt, CPType); 202 172 203 return 0; 173 204 } -
Property cvs2svn:cvs-rev
changed from
-
trunk/testcase/572main.cpp
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r905 r906 118 118 119 119 120 /* 121 * Parameters. 122 */ 123 int ParamArgs( 124 void (* _Optlink pfn1Void)(int a, int b, int c, int d), 125 void * (* _Optlink pfn1PVoid)(int a, int b, int c, int d), 126 int (* _Optlink pfn1Int)(int a, int b, int c, int d), 127 PTYPE (* _Optlink pfn1PType)(int a, int b, int c, int d), 128 void (_Optlink * pfn2Void)(int a, int b, int c, int d), 129 void * (_Optlink * pfn2PVoid)(int a, int b, int c, int d), 130 int (_Optlink * pfn2Int)(int a, int b, int c, int d), 131 PTYPE (_Optlink * pfn2PType)(int a, int b, int c, int d) 132 ) 133 { 134 pfn1Void(1,2,3,4); 135 pfn1PVoid(1,2,3,4); 136 pfn1Int(1,2,3,4); 137 pfn1PType(1,2,3,4); 138 139 pfn2Void(1,2,3,4); 140 pfn2PVoid(1,2,3,4); 141 pfn2Int(1,2,3,4); 142 pfn2PType(1,2,3,4); 143 return 0; 144 } 145 146 120 147 extern "C" int DoC(void); 121 148 int main(void) … … 222 249 PVar2PType(1,2,3,4); 223 250 251 /* parameters */ 252 ParamArgs(Void, PVoid, Int, PType, 253 Void, PVoid, Int, PType); 254 224 255 /* test C stuff */ 225 256 DoC(); -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.