aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/interface_basic.sol
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-05-16 09:06:47 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-05-16 09:48:37 +0800
commit7fb43fe8542679fe91fef460d1a5d15fb8f83cca (patch)
tree31f54c66991b8aa5fa287031cd17025041aebb93 /test/libsolidity/syntaxTests/parsing/interface_basic.sol
parent2ba0002998d12ea412f17d55b643ec85c02e6a30 (diff)
downloaddexon-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.sol6
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.