https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118381

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2025-01-09
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
      Known to fail|                            |3.4.6, 4.6.4
            Summary|GCC ignores missing         |GCC ignores missing
                   |'noexcept' specifier for    |'noexcept'/`throw()`
                   |friend declaration          |specifier for friend
                   |                            |declaration

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, looks not to be a regression either. 

A C++98 testcase:
```
struct S
{  
  void f() throw(){}
};


class C
{
  friend void S::f();
};
int main()
{
  C ci;
}
```

Reply via email to