gcc/testsuite/g++.dg/template/access15.C
raw| 1 | // { dg-do compile } |
| 2 | |
| 3 | // Copyright (C) 2004 Free Software Foundation, Inc. |
| 4 | // Contributed by Nathan Sidwell 23 Aug 2004 <[email protected]> |
| 5 | // Origin: [email protected] |
| 6 | |
| 7 | // Bug 17149: ICE with TEMPLATE_TYPE_PARM |
| 8 | |
| 9 | |
| 10 | template <class super, |
| 11 | int (super::tdata::*member)() const = &super::tdata::operator()> |
| 12 | struct x {}; |