aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/abi/pr39188-2.h
blob: 6ff5f49dbf3694b5346c5c6ee781fac894718e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
template<typename T>
T
f (T x)
{
  static union 
    {
      T i;
    };
  T j = i;
  i = x;
  return j;
}