# VERILOG2045: Constant functions should not pop elements from empty queues ## Summary ```{raw} html
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| HIGH | - | - | Intentionality | Logical | 10min | synthesis, vscode, linter, simulation |
A constant function tried to pop an element from an empty queue.
localparam int foo = func(); function int func; automatic int i[$]; return i.pop_back(); endfunction``` ## Parameters No parameters. ```{raw} html ```