The attached test program which contains a queue in a class causes a segfault in the compiler:
$HOME/icarus/bin/iverilog -g2012 queuetest.sv
:0: error: Range expressions must be constant.
:0 : This MSB expression violates the rule: null
sh: line 1: 2470 Done /home/ehliar/icarus/lib/ivl/ivlpp -L -F"/tmp/ivrlg27a7b1a67" -f"/tmp/ivrlg7a7b1a67" -p"/tmp/ivrli7a7b1a67"
2471 Segmentation fault (core dumped) | /home/ehliar/icarus/lib/ivl/ivl -C"/tmp/ivrlh7a7b1a67" -C"/home/ehliar/icarus/lib/ivl/vvp.conf" -- -
Icarus does not currently support SV queues inside classes. I had a look at adding support for this, but it requires more work than I currently have time for. As a temporary measure, I've updated both the development and v10 branches to output a "sorry" message and avoid the segfault.
I've added br1005.v to the test suite, which provides a basic test for this functionality when someone gets round to implementing it.