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

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #1 from Richard Smith <[email protected]> ---
This works fine with Clang trunk. -DFOO1 succeeds, -DFOO2 gives

<stdin>:18:9: error: no matching function for call to 'foo'
        foo<true>();
        ^~~~~~~~~
<stdin>:11:47: note: candidate template ignored: disabled by 'enable_if' [with
Bs = <true>]
template <bool... Bs, typename std::enable_if<(sizeof...(Bs) == 2), bool>::type
= false>
                                              ^

and -DFOO1 -DFOO2 succeeds.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to