From 31fa6a24df0e698a2c086a8efb7162fa13c061b8 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 17 May 2018 09:04:39 +0200 Subject: Move more parser tests to syntax tests --- test/libsolidity/syntaxTests/parsing/external_function.sol | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/libsolidity/syntaxTests/parsing/external_function.sol (limited to 'test/libsolidity/syntaxTests/parsing/external_function.sol') diff --git a/test/libsolidity/syntaxTests/parsing/external_function.sol b/test/libsolidity/syntaxTests/parsing/external_function.sol new file mode 100644 index 00000000..3aa3ceec --- /dev/null +++ b/test/libsolidity/syntaxTests/parsing/external_function.sol @@ -0,0 +1,5 @@ +contract c { + function x() external {} +} +// ---- +// Warning: (17-41): Function state mutability can be restricted to pure -- cgit v1.2.3