1struct Base {
2  int x;
3};
4
5template <typename T>
6struct A {
7  static const int N = sizeof(static_cast<Base*>(T()));
8  int a[N];
9};
10
11struct Derived : Base {
12  A<Derived*> a;
13};
14