aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/denominations/denominations.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/syntaxTests/denominations/denominations.sol')
-rw-r--r--test/libsolidity/syntaxTests/denominations/denominations.sol2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/denominations/denominations.sol b/test/libsolidity/syntaxTests/denominations/denominations.sol
index de9f73e1..6d1aa2f3 100644
--- a/test/libsolidity/syntaxTests/denominations/denominations.sol
+++ b/test/libsolidity/syntaxTests/denominations/denominations.sol
@@ -3,3 +3,5 @@ contract C {
uint constant b = 1 seconds + 2 minutes + 3 hours + 4 days + 5 weeks + 6 years;
uint constant c = 2 szabo / 1 seconds + 3 finney * 3 hours;
}
+// ----
+// Warning: (142-149): Using "years" as a unit denomination is deprecated.