source: translator/examples/test.c @ 9df2dd5

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since 9df2dd5 was ea3eb06, checked in by Peter A. Buhr <pabuhr@…>, 10 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.