Fix name clashes between constructor and fallback function.

This commit is contained in:
chriseth
2018-04-18 14:24:35 +02:00
parent f510348ff1
commit 29a97f1641
6 changed files with 61 additions and 50 deletions
@@ -1140,7 +1140,6 @@ BOOST_AUTO_TEST_CASE(fallback_function_twice)
}
)";
CHECK_ERROR_ALLOW_MULTI(text, DeclarationError, (vector<string>{
"Function with same name and arguments defined twice.",
"Only one fallback function is"
}));
}