source:
src/tests/castError.c
@
6b8643d
Last change on this file since 6b8643d was e757af2, checked in by , 8 years ago | |
---|---|
|
|
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.