Author
anonymous
almost 7 years ago
C++
gcc 5.4.0
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-5.4.0/include -std=c++14
prog.cc: In function 'int main()': prog.cc:12:45: error: invalid cast from type 'U' to type 'float' std::cout << reinterpret_cast<float>(foo) << std::endl; ^