aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/globalFunctions/sha3_override.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/syntaxTests/globalFunctions/sha3_override.sol')
-rw-r--r--test/libsolidity/syntaxTests/globalFunctions/sha3_override.sol11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/globalFunctions/sha3_override.sol b/test/libsolidity/syntaxTests/globalFunctions/sha3_override.sol
new file mode 100644
index 00000000..909c2dc3
--- /dev/null
+++ b/test/libsolidity/syntaxTests/globalFunctions/sha3_override.sol
@@ -0,0 +1,11 @@
+contract C
+{
+ function sha3() public pure returns (bool) {
+ return true;
+ }
+ function f() public pure returns (bool) {
+ return sha3();
+ }
+}
+// ----
+// Warning: (14-76): This declaration shadows a builtin symbol.