diff options
Diffstat (limited to 'Test/dafny0/Trait/TraitBasics.dfy.expect')
-rw-r--r-- | Test/dafny0/Trait/TraitBasics.dfy.expect | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/dafny0/Trait/TraitBasics.dfy.expect b/Test/dafny0/Trait/TraitBasics.dfy.expect new file mode 100644 index 00000000..c9fb096e --- /dev/null +++ b/Test/dafny0/Trait/TraitBasics.dfy.expect @@ -0,0 +1,3 @@ +TraitBasics.dfy(4,6): Error: a trait is not allowed to declare a constructor
+TraitBasics.dfy(23,10): Error: new can not be applied to a trait
+2 resolution/type errors detected in TraitBasics.dfy
|