solidity/test/libsolidity/syntaxTests/abstract/interface.sol

5 lines
149 B
Solidity
Raw Normal View History

2019-11-04 13:12:58 +00:00
interface B { }
2019-09-14 20:56:40 +00:00
abstract interface A { }
// ----
2019-11-04 13:12:58 +00:00
// TypeError: (16-40): Interfaces do not need the "abstract" keyword, they are abstract implicitly.