ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
demangler
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
with_gc
Last change
on this file since 3de176d was e757af2, checked in by Thierry Delisle <tdelisle@…>, 9 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.