PR c++/77369 - wrong noexcept handling in C++14 and below
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / noexcept-type13.C
blobb51d7af2b11ffaba0c0baebd217d6fde1d8937f9
1 // PR c++/78283
2 // { dg-do compile }
3 // { dg-options "-Wall" }
5 void foo () throw () {}         // { dg-bogus "mangled name" }
7 template <class T>
8 T bar (T x) { return x; }
10 void baz () {                   // { dg-bogus "mangled name" }
11   return (bar (foo)) ();
14 void decl () {}                 // { dg-bogus "mangled name" }