Verified Commit 80cf892a authored by ubduq's avatar ubduq
Browse files

Add another test case for shadowing behavior of the System identifier

parent e7769dfc
* This should be rejected by a MiniJava compiler like it is by the
* Java compiler as the class "System" shadows the default System
* declaration, but cannot have a static field named "out".
class System {
public static void main(String[] args) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment