Changeset 906 for trunk/testcase/572main.cpp
- Timestamp:
- Dec 15, 2003, 9:33:09 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.