The intended transform is not legal with an extern global, because the actual global defined in a different TU might have larger size. Make it non-extern to show that the desired transform already works.