aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/002_undeclared_name.sol
blob: afe9483f6ba60bb7fade990cc67f85bba0b25d71 (plain) (blame)
1
2
3
4
5
6
7
8
contract test {
    uint256 variable;
    function f(uint256 arg) public {
        f(notfound);
    }
}
// ----
// DeclarationError: (85-93): Undeclared identifier.