//Purpose: // Show example of strict alias rule violation. // #include template struct str { char val[Size]; ~str(void) {} }; int main(void) { char buf[sizeof(str<20>)]; str<20>* p20=new(buf) str<20>; str<20>& r20=*p20; r20.~str(); str<10>* p10=new(buf) str<10>; str<10>& r10=*p10; return r20.val==r10.val; }