source: src/tests/CastError.c @ 1c31f68

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 1c31f68 was 62edde5, checked in by Thierry Delisle <tdelisle@…>, 8 years ago

added new tests folder to replace existing one

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