diff --git a/test/libsolidity/syntaxTests/operators/custom/operator_bind_a_bound_free_function.sol b/test/libsolidity/syntaxTests/operators/custom/operator_bind_a_bound_free_function.sol new file mode 100644 index 000000000..3cd1c083e --- /dev/null +++ b/test/libsolidity/syntaxTests/operators/custom/operator_bind_a_bound_free_function.sol @@ -0,0 +1,12 @@ +type Int is uint; +using {f} for Int; + +Int constant v; +using {v.f as +} for Int; + +function f(Int) pure returns (Int) { + return Int.wrap(0); +} + +// ---- +// DeclarationError 7920: (61-64): Identifier not found or not unique.