Commit d21f2166 by Jason Merrill

PR c++/82406 - C++17 error with noexcept function type

	* g++.dg/ext/attrib54.C: New.

From-SVN: r253425
parent fb4ccfed
// PR c++/82406
class a
{
public:
template <typename b> void operator() (const b &);
};
void c () throw () __attribute__ ((__nonnull__));
void
d ()
{
a e;
e (c);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment