blob: 6e84cccea1f12d0dc0304ca3f0b463b932570ca2 [file] [log] [blame]
// PR c++/90750
// { dg-do compile { target c++11 } }
template <typename> struct S
{
static const int b = 64;
};
template <typename a> struct T: S<a>
{
using A = S<a>;
using A::b;
char* __attribute__((aligned(b))) c;
};
T<int> t;
#define SA(X) static_assert (X,#X)
SA (alignof(T<int>) == S<int>::b);