diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-05-11 15:32:13 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-05-11 15:32:13 -0600 |
commit | 5677447c250dcf0c970fe7ce4ac51f47bf6d6da0 (patch) | |
tree | a5392fc636f01a4e517a211f557d5549444fd7e1 /output/negative/ExtendMissing-error.java | |
parent | 2a40b613252eb3d7a95624957dca61fdfa30dc2a (diff) |
Changed SymbolTable to throw and exception when searching for missing entries
Diffstat (limited to 'output/negative/ExtendMissing-error.java')
-rw-r--r-- | output/negative/ExtendMissing-error.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/output/negative/ExtendMissing-error.java b/output/negative/ExtendMissing-error.java new file mode 100644 index 0000000..72a487a --- /dev/null +++ b/output/negative/ExtendMissing-error.java @@ -0,0 +1,12 @@ +class ExtendMissing { + public static void main(String[] a){ + System.out.println(new Test().start()); + } +} + +class Test extends NotPresent { //TE + + public int start(){ + return 0; + } +} |