2 // Copyright (C) 2000 Free Software Foundation, Inc.
3 // Contributed by Nathan Sidwell 7 Nov 2000 <nathan@codesourcery.com>
5 // We ICE'd rather than fail to instantiate.
7 template< typename SID, class SDR >
8 void k( SID sid, SDR* p,
10 ( typename SID::T ) );
13 struct S { void f( int ); };
17 k( E(), (S*)0, &S::f ); // { dg-error "" } no match