[cfe-dev] Omitted declaration

Abramo Bagnara abramo.bagnara at gmail.com
Sat May 29 01:02:21 PDT 2010


template <typename T>
struct S {
};

// S<int> v;

template struct S<int>;

Uncommenting the line above the ClassTemplateSpecializationDecl related
to the last line disappears from declarations available inside
TranslationUnitDecl.

I don't think it's expected, right?



More information about the cfe-dev mailing list