https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114210
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note the class method is similar to how normal functions work: ``` void foo (int* __restrict b); void foo (int* b) { static_assert(__is_same(decltype(b), int*)); } void foo1 (int* b); void foo1 (int* __restrict b) { static_assert(__is_same(decltype(b), int*__restrict)); } ```