diff options
author | wisberg <wisberg> | 2003-05-27 07:30:12 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-05-27 07:30:12 +0000 |
commit | 11c67124a2f9a01214a91165d36c9a7bc512052b (patch) | |
tree | 4d3dab28cd4d56a2225489ba600bac28c76073d7 /tests/harness | |
parent | c9f7a604ab3fcb9c8443d723184cac70567a1075 (diff) | |
download | aspectj-11c67124a2f9a01214a91165d36c9a7bc512052b.tar.gz aspectj-11c67124a2f9a01214a91165d36c9a7bc512052b.zip |
test checks that setting warn:constructorName works
Diffstat (limited to 'tests/harness')
-rw-r--r-- | tests/harness/ConstructorNameWarning.java | 9 |
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 + } +} + + |