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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is one where GCC works but clang does not:
 __attribute__((visibility("default"))) 
 [[deprecated("a message")]]
 __attribute__((visibility("default"))) 
int A(void);

If you remove the first __attribute__, clang will work.

Reply via email to