PurityInferenceFromSourceTest: make constructor really side-effectful

This commit is contained in:
peter
2014-09-24 16:37:16 +02:00
parent b867aaa65f
commit 4c54779a59
@@ -142,7 +142,7 @@ public Foo() {
return new Example1();
}
private int created = 0;
private static int created = 0;
Example1() {
created++;