diff options
Diffstat (limited to 'clang/test/SemaTemplate/issue150.cpp')
| -rw-r--r-- | clang/test/SemaTemplate/issue150.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/SemaTemplate/issue150.cpp b/clang/test/SemaTemplate/issue150.cpp index 2cfa8c5cb1e..6124d05413a 100644 --- a/clang/test/SemaTemplate/issue150.cpp +++ b/clang/test/SemaTemplate/issue150.cpp @@ -91,7 +91,17 @@ namespace PR9016 { IntervalSet<T> IntervalSetT; }; + template <class T, + template<class _T, template<class> class Compare = less, + class = typename interval_type_default<_T,Compare>::type, + template<class> class = allocator> class IntervalSet> + void int40() + { + IntervalSet<T> IntervalSetT; + } + void test() { ZZZ<int, interval_set> zzz; + int40<int, interval_set>(); } } |

