aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/conversion/reinterpret1.C
blob: aa55f6f4cf51d9c792e5c171800644cd6499ba8f (plain)
1
2
3
4
5
6
// PR c++/15076

struct Y { Y(int &); };

int v;
Y y1(reinterpret_cast<int>(v));