source: tests/cast.cfa @ 05035b3

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 05035b3 was dc8511c, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

first attempt at updating suffixes for test programs

  • Property mode set to 100644
File size: 233 bytes
RevLine 
[62edde5]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;
[a0dcd2e]11//      ([long, long double, *[]()])([f, f, f]);
[62edde5]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.