parent
72850d4362
commit
000febb999
2 changed files with 10 additions and 2 deletions
|
|
@ -98,6 +98,11 @@ struct b<0, T> {};
|
|||
/// template<>
|
||||
/// class a<int>;
|
||||
extern template class a<int>;
|
||||
|
||||
// non-extern template as well
|
||||
/// template<>
|
||||
/// class a<int>;
|
||||
template class a<int>;
|
||||
)";
|
||||
|
||||
cpp_entity_index idx;
|
||||
|
|
@ -269,5 +274,5 @@ extern template class a<int>;
|
|||
else
|
||||
REQUIRE(false);
|
||||
});
|
||||
REQUIRE(count == 5u);
|
||||
REQUIRE(count == 6u);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue