blob: b17374645b20f5af40c6970983ad78f2f348c80d [file] [log] [blame]
// PR c++/64487
struct foo {
int member;
};
template < int N>
struct bar {};
template <int N>
struct qux {
static bar<N+__builtin_offsetof(foo,member)> static_member;
};
template <int N>
bar<N+__builtin_offsetof(foo,member)> qux<N>::static_member;
int main() { }