language: C++ 4.7.2 (gcc-4.7.2)
date: 820 days 16 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
template<class F> struct special {};
template<class C> struct special<void(C::*)()> {};
template<class R, class C> struct special<R(C::*)()> {};
 
struct s {};
 
int main()
{
  special<void(s::*)()> instance;
  return 0;
}
 
prog.cpp: In function ‘int main()’:
prog.cpp:9: warning: unused variable ‘instance’