source: tests/cast.c @ 5c45fec

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 5c45fec was bf71cfd, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Moved up many directories in source

  • 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.