Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / parse / funptr1.C
blobbf63c122e8bc8e6ed549022eb17504e8d4ac8b2c
1 // PR c++/9282
2 // Origin: Thomas Richter <thor@math.tu-berlin.de>
3 // { dg-do compile }
5 typedef void (*fptr)();
7 struct A
9     template<int>    static void foo() {}
10     template<fptr f> static void bar() { (*f)(); }
13 fptr f = A::bar< A::foo<0> >;