[LLVMbugs] [Bug 5700] Assert on invalid nested-name-specifier containing function template specialization

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 4 13:38:28 PST 2011


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

Douglas Gregor <dgregor at apple.com> changed:

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

--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2011-03-04 15:38:27 CST ---
Fixed in r127037.

We now get:


t2.cpp:6:12: error: qualified name refers into a specialization of function
      template 'N::f'
  N::f<int>::x b;
  ~~~~~~~~~^
t2.cpp:2:29: note: function template 'f' declared here
  template<typename T> void f();
                            ^

-- 
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