With the 1.6.6 version of the DUE compiler, the output is exactely as expected with the code I provided.