Ignore:
Timestamp:
Jun 11, 2003, 11:10:57 PM (22 years ago)
Author:
bird
Message:

Enumerations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/testcase/456/simple.c

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r324 r325  
    1 static int  fileglobal = 2;
    2 int         realglobal = 1;
     1/* step this code and check that everything is visible and step ordre is ok. */
     2
     3/* Check that both these are viewable in the 'program monitor'. */
     4static int      fileglobal = 2;
     5int             realglobal = 1;
     6
     7/* Enum test: check that these are ok and the value is stringified */
     8enum ENM { enmA, enmB, enmC};
     9static enum ENM enmfileglobal = enmA;
     10enum ENM        enmrealglobal = enmB;
     11
     12/* Enum test: check that these are ok and the value is stringified */
     13enum { enmAnon, enmBnon, enmCnon}
     14                enmAnonymous;
    315
    416
Note: See TracChangeset for help on using the changeset viewer.