1 // { dg-additional-options -fmodules-ts } 2 // Make sure we're not confused by an imported declaration of a 3 // library fn 4 export module foo; 5 // { dg-module-cmi foo } 6 thrower()7 export inline void thrower () 8 { 9 try 10 { 11 throw 1; 12 } 13 catch (...) 14 { 15 } 16 } 17