Changeset 906 for trunk/testcase/572c.c


Ignore:
Timestamp:
Dec 15, 2003, 9:33:09 PM (22 years ago)
Author:
bird
Message:

As parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/testcase/572c.c

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r905 r906  
    8484
    8585
     86/*
     87 * Parameters.
     88 */
     89int 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
    86113int DoC(int a, int b, int c, int d)
    87114{
     
    170197    PVar2PType(1,2,3,4);
    171198
     199    /* parameters */
     200    ParamArgs(CVoid, CPVoid, CInt, CPType,
     201              CVoid, CPVoid, CInt, CPType);
     202
    172203    return 0;
    173204}
Note: See TracChangeset for help on using the changeset viewer.