aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/parse/template14.C
blob: ada87524352026b7c88d69db833bea8a2136e84e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// PR c++/14550

struct A { 
  A();
};

template <int> void foo()
{
  A *p = new A;
}

void bar()
{
  foo<0>();
}