source: translator/examples/test.c@ 643a2e1

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new string with_gc
Last change on this file since 643a2e1 was ea3eb06, checked in by Peter A. Buhr <pabuhr@…>, 11 years ago

formatting changes

  • Property mode set to 100644
File size: 237 bytes
Line 
1#include "fstream.h"
2#include "vector_int.h"
3
4int main() {
5 ofstream *sout = ofstream_stdout();
6 vector_int vec = vector_int_allocate();
7 int index;
8 switch(1) {
9 case 1:
10 sout << vec[ index ];
11 }
12 sout << "\n";
13}
Note: See TracBrowser for help on using the repository browser.