ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since c850687 was
e757af2,
checked in by Thierry Delisle <tdelisle@…>, 8 years ago
|
renamed all tests to lower-case leading character
|
-
Property mode set to
100644
|
File size:
177 bytes
|
Rev | Line | |
---|
[62edde5] | 1 | //Testing some of the invalid casts of chars |
---|
| 2 | int f; |
---|
| 3 | |
---|
| 4 | void f() { |
---|
| 5 | int f; |
---|
| 6 | double f; |
---|
| 7 | (char)f; |
---|
| 8 | (int(*)())f; |
---|
| 9 | } |
---|
| 10 | |
---|
| 11 | //Dummy main |
---|
| 12 | int main(int argc, char const *argv[]) |
---|
| 13 | { |
---|
| 14 | return 0; |
---|
| 15 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.