Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/ckit/regression/valid-programs/a213.c
ViewVC logotype

View of /sml/trunk/ckit/regression/valid-programs/a213.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 597 - (download) (as text) (annotate)
Wed Apr 5 18:34:51 2000 UTC (19 years, 6 months ago) by dbm
File size: 146 byte(s)
Initial revision
/* "bug 1": enum constants */
void printf();

main() {

  enum {e1=10,e2=e1+2,e3=10} e;
  printf ("e1=%d,e2=%d,e3=%d\n",e1,e2,e3);
  return 1;

}

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0