>  template class DEFAULT A<hidden_t>::B<hidden_t>;
>
> I claim that I should see:
>  A<hidden_t>::B<hidden_t>::hidden() is hidden
>  A<hidden_t>::B<hidden_t>::noattr() is default
>  A<hidden_t>::B<hidden_t>::temp<default_t>() is default
>  A<hidden_t>::B<hidden_t>::temp<hidden_t>() is hidden

With an extra

 template class DEFAULT A<hidden_t>;

I agree, since

template class DEFAULT A<hidden_t>::B<hidden_t>;

is only really instantiating B, no?

GCC disagrees with  A<hidden_t>::B<hidden_t>::temp<hidden_t>() . I
don't know why. It is strange since it agrees with
A<hidden_t>::B<hidden_t>::hidden() .

I have included your testcase in the patch.

The chrome build has also finished OK on linux and OS X :-)

> John.

Cheers,
Rafael

Attachment: t.patch
Description: Binary data

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

Reply via email to