Test hashing of UnsafeDecl in a more portable way