[LLVMbugs] [Bug 11848] pack expansion of alias template with non-dependent substitution fails

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 25 08:16:03 PST 2012


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

Douglas Gregor <dgregor at apple.com> changed:

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

--- Comment #2 from Douglas Gregor <dgregor at apple.com> 2012-01-25 10:16:03 CST ---
(In reply to comment #1)
> r148905 fixes the crash and causes us to reject this case, as suggested by
> Doug. However, during the fix, another related issue was found:
> 
>   template<typename T>
>   struct Hidden1 {
>     template<typename ...Ts>
>     Hidden1(typename T::template U<Ts> ...ts);
>   };
> 
>   struct Hide {
>     template<typename T> using U = int;
>   };
> 
>   Hidden1<Hide> h1;
> 
> This still causes a crash.

Fixed this last bit in r148960.

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