aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/access15.C
blob: e28716366e796c9ff2edb7737647f96c0a419602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do compile }

// Copyright (C) 2004 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 23 Aug 2004 <nathan@codesourcery.com>
// Origin: stefaandr@hotmail.com

// Bug 17149: ICE with TEMPLATE_TYPE_PARM


template <class super,
	  int (super::tdata::*member)() const = &super::tdata::operator()>
struct x {};