Debian Codegraph @

gcc/testsuite/g++.dg/eh/spec1.C

raw
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;