aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/non-const1.C
blob: 16a385188873730cf6904a83fa0c6071d33702b2 (plain)
1
2
3
4
5
6
7
8
// PR c++/48015

template <typename T> T f(T);
template <typename T> void g()
{
  int const c = f (1);
  int i = c - 0;
}