mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Infrastructure for extracting syntax tests in separate test files.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
pragma experimental "v0.5.0";
|
||||
contract test {
|
||||
function f() pure public {
|
||||
uint256 x;
|
||||
if (true) { uint256 x; }
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: This declaration shadows an existing declaration.
|
||||
// Warning: Unused local variable.
|
||||
// Warning: Unused local variable.
|
||||
Reference in New Issue
Block a user