summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr32253.C
blob: d8f7b03b92f3b08c5d75bec5c2fcb80200269d45 (plain)
1
2
3
4
5
6
7
8
9
// { dg-options "-std=c++0x" }
template<void (*... fp)()> struct A
{
  A() { fp(); } // { dg-error "not expanded|fp" }
};

void foo();

A<foo> a;