source: src/tests/Cast.c@ 8f62de7

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 with_gc
Last change on this file since 8f62de7 was a0dcd2e, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

update test programs, half done

  • Property mode set to 100644
File size: 233 bytes
Line 
1//Testing some valid casts of chars
2char f;
3
4void f() {
5 char f;
6 double f;
7 (int)f;
8 short f;
9 (int)f;
10 (void(*)())f;
11// ([long, long double, *[]()])([f, f, f]);
12}
13
14//Dummy main
15int main(int argc, char const *argv[])
16{
17 return 0;
18}
Note: See TracBrowser for help on using the repository browser.