Issue warning for using public visibility for interface functions

This commit is contained in:
Alex Beregszaszi committed 2018-02-01 10:28:00 +00:00
1 parent cc1c461fc0
commit b545987ec7
4 files changed
+12 -3

No files matched your search

+2 -2
View File
@@ -181,10 +181,10 @@ BOOST_AUTO_TEST_CASE(interface)
{
string text = R"(
interface D {
function f() view public;
function f() view external;
}
contract C is D {
function f() view public {}
function f() view external {}
}
)";
CHECK_SUCCESS_NO_WARNINGS(text);