ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
Last change
on this file since dfb7c96 was bf71cfd, checked in by Thierry Delisle <tdelisle@…>, 7 years ago |
Moved up many directories in source
|
-
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.