1// { dg-do compile } 2 3// Copyright (C) 2004 Free Software Foundation, Inc. 4// Contributed by Nathan Sidwell 23 Aug 2004 <nathan@codesourcery.com> 5// Origin: stefaandr@hotmail.com 6 7// Bug 17149: ICE with TEMPLATE_TYPE_PARM 8 9 10template <class super, 11 int (super::tdata::*member)() const = &super::tdata::operator()> 12struct x {}; 13