source: tests/cast.cfa @ b303ec1

arm-ehenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-expr
Last change on this file since b303ec1 was b303ec1, checked in by Peter A. Buhr <pabuhr@…>, 13 months ago

revert compile-only pragma message because compilers use different column numbers

  • Property mode set to 100644
File size: 293 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.