15791d741b325c1a8f13f96bf5f18fa6828f2f2d5Sebastian Redl// Serialization testing helper for noexcept, included by cg.cpp. 25791d741b325c1a8f13f96bf5f18fa6828f2f2d5Sebastian Redl 35791d741b325c1a8f13f96bf5f18fa6828f2f2d5Sebastian Redlinline bool f1() { 45791d741b325c1a8f13f96bf5f18fa6828f2f2d5Sebastian Redl return noexcept(0); 55791d741b325c1a8f13f96bf5f18fa6828f2f2d5Sebastian Redl} 65791d741b325c1a8f13f96bf5f18fa6828f2f2d5Sebastian Redlinline bool f2() { 75791d741b325c1a8f13f96bf5f18fa6828f2f2d5Sebastian Redl return noexcept(throw 0); 85791d741b325c1a8f13f96bf5f18fa6828f2f2d5Sebastian Redl} 9