language: C++ 4.7.2 (gcc-4.7.2)
date: 551 days 1 hour ago
link:
visibility: public
1
2
3
4
5
 
template<typename T> void f(const T&) {}
 
int main() { struct S{};  f(S()); }
 
prog.cpp: In function ‘int main()’:
prog.cpp:4: error: no matching function for call to ‘f(main()::S)’