Debian Codegraph @

gcc/testsuite/g++.dg/modules/except-1.C

raw
1 // { dg-additional-options -fmodules-ts }
2 export module bill;
3 // { dg-module-cmi bill }
4
5 // Make sure no deferred parse exception spec detritus remains
6
7 template<typename T>
8 class bob
9 {
10 void frob () noexcept(T::frob ());
11 template<typename U> void frobber (int) noexcept (T::frob ());
12 };
13
14
15 class bill
16 {
17 template<typename U> void frobbest (int) noexcept (U::frob ());
18 };