1// { dg-do assemble } 2 3// Copyright (C) 2000 Free Software Foundation 4// Contributed by Nathan Sidwell 6 July 2000 <nathan@codesourcery.com> 5 6template <class T> 7void Wibble (void (*fn) (), T *const __restrict__ &p2) 8{} 9template<class T1, class T2> 10void Wibble (T1 *const __restrict__ &p1, T2 *const __restrict__ &p2) 11{} 12 13void Baz (); 14 15void Foo (void const *ptr) 16{ 17 Wibble (&Baz, ptr); 18} 19