12 lines
No EOL
180 B
Text
Executable file
12 lines
No EOL
180 B
Text
Executable file
/* testing invalid casts */
|
|
class Main
|
|
{
|
|
void main()
|
|
{
|
|
int a;
|
|
Object d;
|
|
d = new Object();
|
|
a = (Object) d;
|
|
a = (boolean[]) a;
|
|
}
|
|
} |