Make sure that sizeof works correctly for shared variable array types.  Refs #10.