// PR c++/38795 // { dg-do compile { target c++11 } } template int foo(int i) { return *reinterpret_cast(i); // { dg-error "not expanded with|T" } } void bar(int i) { foo(i); }