summaryrefslogtreecommitdiffstats
path: root/tests/harness
diff options
context:
space:
mode:
Diffstat (limited to 'tests/harness')
-rw-r--r--tests/harness/ConstructorNameWarning.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/harness/ConstructorNameWarning.java b/tests/harness/ConstructorNameWarning.java
new file mode 100644
index 000000000..ddf809540
--- /dev/null
+++ b/tests/harness/ConstructorNameWarning.java
@@ -0,0 +1,9 @@
+
+public class ConstructorNameWarning {
+
+ /** expecting warning: method with constructor name */
+ public void ConstructorNameWarning(String s) { // CW 5 -warn:constructorName
+ }
+}
+
+