Test case for a crash when using void map over a sequence

Crashes the compiler when -O flag turned on