Changeset 600 for trunk/testcase/570c.c


Ignore:
Timestamp:
Aug 16, 2003, 1:45:44 AM (22 years ago)
Author:
bird
Message:

Final testcases?

File:
1 edited

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r599 r600  
    5858int DoC(int a, int b, int c, int d)
    5959{
    60     VFT vft = {Void, PVoid, Int, PType,
    61                Void, PVoid, Int, PType};
     60    static VFT vft = {Void, PVoid, Int, PType,
     61                      Void, PVoid, Int, PType};
    6262
    63     Typedef1Void       * pfnTypedef1Void   = Void;
    64     Typedef1PVoid      * pfnTypedef1PVoid  = PVoid;
    65     Typedef1Int        * pfnTypedef1Int    = Int;
    66     Typedef1PType      * pfnTypedef1PType  = PType;
     63    static Typedef1Void       * pfnTypedef1Void   = Void;
     64    static Typedef1PVoid      * pfnTypedef1PVoid  = PVoid;
     65    static Typedef1Int        * pfnTypedef1Int    = Int;
     66    static Typedef1PType      * pfnTypedef1PType  = PType;
    6767
    68     Typedef2Void       * pfnTypedef2Void   = Void;
    69     Typedef2PVoid      * pfnTypedef2PVoid  = PVoid;
    70     Typedef2Int        * pfnTypedef2Int    = Int;
    71     Typedef2PType      * pfnTypedef2PType  = PType;
     68    static Typedef2Void       * pfnTypedef2Void   = Void;
     69    static Typedef2PVoid      * pfnTypedef2PVoid  = PVoid;
     70    static Typedef2Int        * pfnTypedef2Int    = Int;
     71    static Typedef2PType      * pfnTypedef2PType  = PType;
    7272
    73     PTypedef1Void        pfnPTypedef1Void  = Void;
    74     PTypedef1PVoid       pfnPTypedef1PVoid = PVoid;
    75     PTypedef1Int         pfnPTypedef1Int   = Int;
    76     PTypedef1PType       pfnPTypedef1PType = PType;
     73    static PTypedef1Void        pfnPTypedef1Void  = Void;
     74    static PTypedef1PVoid       pfnPTypedef1PVoid = PVoid;
     75    static PTypedef1Int         pfnPTypedef1Int   = Int;
     76    static PTypedef1PType       pfnPTypedef1PType = PType;
    7777
    78     PTypedef2Void        pfnPTypedef2Void  = Void;
    79     PTypedef2PVoid       pfnPTypedef2PVoid = PVoid;
    80     PTypedef2Int         pfnPTypedef2Int   = Int;
    81     PTypedef2PType       pfnPTypedef2PType = PType;
     78    static PTypedef2Void        pfnPTypedef2Void  = Void;
     79    static PTypedef2PVoid       pfnPTypedef2PVoid = PVoid;
     80    static PTypedef2Int         pfnPTypedef2Int   = Int;
     81    static PTypedef2PType       pfnPTypedef2PType = PType;
    8282
    8383
Note: See TracChangeset for help on using the changeset viewer.