diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/570_function_type_undeclared_type.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/570_function_type_undeclared_type.sol | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/570_function_type_undeclared_type.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/570_function_type_undeclared_type.sol new file mode 100644 index 00000000..962f4fe4 --- /dev/null +++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/570_function_type_undeclared_type.sol @@ -0,0 +1,5 @@ +contract C { + function a(function(Nested)) external pure {} +} +// ---- +// DeclarationError: (37-43): Identifier not found or not unique. |