diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-16 09:06:47 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-16 09:48:37 +0800 |
commit | 7fb43fe8542679fe91fef460d1a5d15fb8f83cca (patch) | |
tree | 31f54c66991b8aa5fa287031cd17025041aebb93 /test/libsolidity/syntaxTests/parsing/interface_basic.sol | |
parent | 2ba0002998d12ea412f17d55b643ec85c02e6a30 (diff) | |
download | dexon-solidity-7fb43fe8542679fe91fef460d1a5d15fb8f83cca.tar.gz dexon-solidity-7fb43fe8542679fe91fef460d1a5d15fb8f83cca.tar.zst dexon-solidity-7fb43fe8542679fe91fef460d1a5d15fb8f83cca.zip |
Move couple of parser tests to syntax tests.
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/interface_basic.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/interface_basic.sol | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/interface_basic.sol b/test/libsolidity/syntaxTests/parsing/interface_basic.sol new file mode 100644 index 00000000..c25b48ba --- /dev/null +++ b/test/libsolidity/syntaxTests/parsing/interface_basic.sol @@ -0,0 +1,6 @@ +interface Interface { + function f(); +} +// ---- +// Warning: (23-36): Functions in interfaces should be declared external. +// Warning: (23-36): No visibility specified. Defaulting to "public". In interfaces it defaults to external. |