aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg1.C
blob: 3081d67c54db20aefab99491314a52e5627b2190 (plain)
1
2
3
4
5
6
7
// PR c++/37766
// { dg-do compile { target c++11 } }

int a = 1;
template<int& b = a> void f() {
  f<>();
}