summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg1.C
blob: 25192ad8672cc4cefbbf3d31b79a6b98ce25e37a (plain)
1
2
3
4
5
6
7
// PR c++/37766
// { dg-options -std=c++0x }

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