Changeset 595
- Timestamp:
- Aug 15, 2003, 3:39:52 AM (22 years ago)
- Location:
- trunk/testcase
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/testcase/570.gmk
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r594 r595 37 37 38 38 $(TESTCASE).exe: $(EXEOBJS) $(TESTCASE).gmk 39 if $(CC) -Zmap $(CFLAGS) -o "$@" $(EXEOBJS) ; then true; \39 if $(CC) -Zmap $(CFLAGS) -o "$@" $(EXEOBJS) -lstdc++; then true; \ 40 40 else rm -f $@; false; \ 41 41 fi -
Property cvs2svn:cvs-rev
changed from
-
trunk/testcase/570asm.s
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r594 r595 52 52 ret 53 53 54 .globl __ZN3foo10MemberVoidEv 55 __ZN3foo10MemberVoidEv: 56 ret 57 58 .globl __ZN3foo11MemberPVoidEv 59 __ZN3foo11MemberPVoidEv: 60 ret 61 62 .globl __ZN3foo9MemberIntEv 63 __ZN3foo9MemberIntEv: 64 ret 65 66 .globl __ZN3foo11MemberPTypeEv 67 __ZN3foo11MemberPTypeEv: 68 ret 69 -
Property cvs2svn:cvs-rev
changed from
-
trunk/testcase/570c.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r594 r595 30 30 typedef PTYPE (* _System PTypedef1PType)(void); 31 31 32 /* Alternate writing which should have the same effect I think... */ 32 33 typedef void (_System * PTypedef2Void)(void); 33 34 typedef void * (_System * PTypedef2PVoid)(void); … … 45 46 int (_System * PStructMemberInt)(void* pvThis); 46 47 PTYPE (_System * PStructMemberPType)(void* pvThis); 48 49 /* Alternate writing which should have the same effect I think... */ 50 void ( _System * PStructMember2Void)(void* pvThis); 51 void * ( _System * PStructMember2PVoid)(void* pvThis); 52 int ( _System * PStructMember2Int)(void* pvThis); 53 PTYPE ( _System * PStructMember2PType)(void* pvThis); 54 47 55 } VFT, *PVFT; 48 56 -
Property cvs2svn:cvs-rev
changed from
-
trunk/testcase/570main.cpp
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r594 r595 60 60 typedef PTYPE (* _System PTypedef1PType)(void); 61 61 62 /* Alternate writing which should have the same effect I think... */ 62 63 typedef void (_System * PTypedef2Void)(void); 63 64 typedef void * (_System * PTypedef2PVoid)(void); … … 72 73 typedef struct VFT 73 74 { 74 void (_System * PStructMemberVoid)(void* pvThis); 75 void * (_System * PStructMemberPVoid)(void* pvThis); 76 int (_System * PStructMemberInt)(void* pvThis); 77 PTYPE (_System * PStructMemberPType)(void* pvThis); 75 void (* _System PStructMemberVoid)(void* pvThis); 76 void * (* _System PStructMemberPVoid)(void* pvThis); 77 int (* _System PStructMemberInt)(void* pvThis); 78 PTYPE (* _System PStructMemberPType)(void* pvThis); 79 80 /* Alternate writing which should have the same effect I think... */ 81 void ( _System * PStructMember2Void)(void* pvThis); 82 void * ( _System * PStructMember2PVoid)(void* pvThis); 83 int ( _System * PStructMember2Int)(void* pvThis); 84 PTYPE ( _System * PStructMember2PType)(void* pvThis); 85 78 86 } VFT, *PVFT; 79 87 … … 113 121 vft.PStructMemberPType(&vft); 114 122 123 /* test C stuff */ 115 124 DoC(); 125 126 /** @todo test typedefs and structure field. */ 116 127 117 128 return 0; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.