Skip to content

Commit

Permalink
Add suggested test.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed Mar 14, 2022
1 parent bedb5ff commit 0723c25
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/libsolidity/syntaxTests/using/free_overloads_array.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function f(uint x, uint[] y) pure returns (uint) {
return x;
}
function f(uint x, uint y) pure returns (int) {
return x;
}
using {f} for uint;
// ----
// DeclarationError 7920: (138-139): Identifier not found or not unique.

0 comments on commit 0723c25

Please sign in to comment.