[LLVMbugs] [Bug 9273] dependent operator name in template function argument type crashes clang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 6 08:25:33 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=9273

Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Douglas Gregor <dgregor at apple.com> 2011-09-06 10:25:33 CDT ---
Clang now correctly rejects this:


.cpp:2:15: error: explicit instantiation of 'operator_' does not refer to a
      function template, member function, member class, or static data member
template void operator_<int>(int);
              ^

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list