blob: afe6ab2b968e4c2fc7f620da884000f1e6c708a4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// RUN: clang-cc -fsyntax-only -verify %s
template<typename T>
struct X0 {
template<typename U> struct Inner0 {
static const unsigned value = 0;
};
template<typename U> struct Inner0<U*> {
static const unsigned value = 1;
};
};
template<typename T> template<typename U>
struct X0<T>::Inner0<const U*> {
static const unsigned value = 2;
};
// FIXME: Test instantiation of these partial specializations (once they are
// implemented).
|