ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git] / gcc / testsuite / g++.dg / template / fn.C
blob6b5f09ae2d01a39328c0dc5481f202552ccefc08
1 // instantiation cannot turn a data member into a function!
3 typedef int (frib) (int);
5 template <typename T> class X 
7   T v; // { dg-error "declared function" }
8 };
10 X<frib> v;