source: tests/cast.cfa@ 1389810

ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
Last change on this file since 1389810 was 66812dd, checked in by Peter A. Buhr <pabuhr@…>, 5 years ago

convert tests to always print output (no empty .expect files)

  • Property mode set to 100644
File size: 290 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 #pragma message( "Compiled" ) // force non-empty .expect file
17}
Note: See TracBrowser for help on using the repository browser.