diff options
Fallback function has to be external: backwards-compatible changes.
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/529_fallback_marked_public.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/529_fallback_marked_public.sol | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/529_fallback_marked_public.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/529_fallback_marked_public.sol new file mode 100644 index 00000000..42585137 --- /dev/null +++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/529_fallback_marked_public.sol @@ -0,0 +1,4 @@ +contract C { + function () public { } +} +// ---- |