On Sep 24, 2010, at 6:10 AM, Martin Vejnár wrote:

> Hi, this patch fixes what is written in subject. In particular, the
> following program
> 
>    template <typename T> struct t {
>      struct s1 {
>        T f1();
>      };
>      struct s2 : s1 {
>        using s1::f1;
>      };
>    };
> 
>    template struct t<int>;
> 
> is now parsed without errors. Originally, no substitution was performed on
> `s1` in the UsingDecl, which resulted in an error (t<T>::s1 is not a base
> class of t<int>::s2).
> 
> A test case is included as well.

Looks great, thanks! I've committed this as r115051.

        - Doug


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to