1
Fork 0
mini-java/miniJava/tests/pa3_tests/fail368.java

14 lines
199 B
Java

/*** no dereference from non-class types
* COMP 520
* Identification
*/
class fail68 {
public static void main(String[] args) {
int c = 4;
c = c.foo;
}
int foo;
}