blob: 43fb454bca52c5ff0a79dab38cdf3075c693d79e [file] [log] [blame]
Douglas Gregorbefc20e2009-03-26 00:10:35 +00001// RUN: clang-cc -fsyntax-only -verify %s
2
3template<typename T>
4struct X {
5 X<T*> *ptr;
6};
7
8X<int> x;
9
10template<>
11struct X<int***> {
12 typedef X<int***> *ptr;
13};
14
15// FIXME: EDG rejects this in their strict-conformance mode, but I
16// don't see any wording making this ill-formed.
17X<float>::X<int> xi = x;