[LLVMbugs] [Bug 13610] narrowing conversion in initializer list not treated as SFINAE condition

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 14 19:08:07 PDT 2014


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

hstong at ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |hstong at ca.ibm.com
         Resolution|---                         |FIXED

--- Comment #2 from hstong at ca.ibm.com ---
I observed the behaviour requested in the report in r214060.

$ clang -cc1 -std=c++11 -x c++ pr13610.cc 
pr13610.cc:3:6: error: variable has incomplete type 'void'
auto x = f((char (*)[1000])0);
     ^
1 error generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140815/f9f19737/attachment.html>


More information about the llvm-bugs mailing list