Adjusts syntax tests to new constructor syntax.

This commit is contained in:
Erik Kundt
2018-07-18 14:29:01 +02:00
parent 182a0a9551
commit de6cd2425b
29 changed files with 3 additions and 116 deletions
@@ -0,0 +1,6 @@
library Lib {
constructor() public;
}
// ----
// TypeError: (15-36): Constructor cannot be defined in libraries.
// TypeError: (15-36): Constructor must be implemented if declared.