From 9025e8b4185cf965d51e64b1ed0aba7e43d33842 Mon Sep 17 00:00:00 2001 From: acolyer Date: Thu, 3 Nov 2005 17:09:45 +0000 Subject: tests for pr62606 - itdcs don't run field initialisers in target type. Largely updates to existing tests to cope with new Lint warning. --- tests/bugs/DecwInitializationITD.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/bugs/DecwInitializationITD.java') diff --git a/tests/bugs/DecwInitializationITD.java b/tests/bugs/DecwInitializationITD.java index 26bab8b9e..dec83b051 100644 --- a/tests/bugs/DecwInitializationITD.java +++ b/tests/bugs/DecwInitializationITD.java @@ -8,7 +8,7 @@ // initialization(HW.new(String)) will not match ! aspect A { - HW.new(String s) {} + HW.new(String s) { this(); } declare warning : initialization(HW.new(String,A)) : "Funky ctor found!"; } -- cgit v1.2.3