mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Detect loops in call graph generator.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{
|
||||
function f() -> x { x := g() }
|
||||
function g() -> x { for {} 1 {} {} }
|
||||
pop(f())
|
||||
}
|
||||
// ----
|
||||
// :
|
||||
// f:
|
||||
// g:
|
||||
Reference in New Issue
Block a user