summaryrefslogtreecommitdiffstats
path: root/tests/new/PublicClassWrongFilename.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/PublicClassWrongFilename.java')
-rw-r--r--tests/new/PublicClassWrongFilename.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/new/PublicClassWrongFilename.java b/tests/new/PublicClassWrongFilename.java
new file mode 100644
index 000000000..85d443a5d
--- /dev/null
+++ b/tests/new/PublicClassWrongFilename.java
@@ -0,0 +1,5 @@
+
+/** no warning that file not called "TargetClass" */
+public class TargetClass {
+ public static void main(String[] args) { }
+}