Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
slither/tests/ast-parsing/literal-0.7.0.sol

31 lines
436 B

contract C {
function f() public {
true;
false;
123;
123.456;
123.456e7;
123.456e0;
123.456e-7;
1_2_3;
0xabc;
0xa_b_c;
1 wei;
1 ether;
1 seconds;
1 minutes;
1 hours;
1 days;
1 weeks;
hex"abcd";
hex'abcd' hex"abab";
"abc";
'def';
unicode"💩";
}
}