1 // Check that we allow an exception specification on a reference-to-function.
2 // { dg-do compile }
3 
4 void f () throw ();
5 void (&fp)() throw () = f;
6