Fixing a build bot issue with duplicate explicit instantiations.

llvm-svn: 272027
This commit is contained in:
Aaron Ballman 2016-06-07 17:32:07 +00:00
parent d96ce2a94c
commit 4c4bdba28a
1 changed files with 8 additions and 1 deletions

View File

@ -26,7 +26,14 @@ struct S {
template struct S<int>;
template struct S<ip>; // ok
template struct S<cip>;
template struct S<int *>; // ok
template <typename Ty>
struct U {
const Ty *i;
const Ty &i2;
};
template struct U<int *>; // ok
struct T {
typedef void (T::*PMF)();