Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
Qt Creator 2.8.0-beta
-
None
-
Windows 7, Mingw gcc 4.8.0
Description
template <class T> struct A { }; struct B{ template <class T> int operator()(A<T>){ return 1; } }; int main(int , char**){ B b; b(A<int>{}); // <-- Wrong warning appears here, which is "expected token ; got int" }