https://bugs.llvm.org/show_bug.cgi?id=48339

Richard Smith <richard-l...@metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Fixed By Commit(s)|                            |c4fb7720ceb30f25c38d994fb37
                   |                            |5e4d1978de144
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Richard Smith <richard-l...@metafoo.co.uk> ---
Now diagnosed as:

<stdin>:11:5: error: no matching function for call to 'g'
    g(typename T::type{});
    ^
<stdin>:16:7: note: in instantiation of function template specialization
'S::f<X>' requested here
  S{}.f<X>();
      ^
<stdin>:7:15: note: candidate template ignored: couldn't infer template
argument 'T'
  static void g(typename T::type) {}
              ^
1 error generated.

... as it should be.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to