blob: 7a2870a0ee43f94b1827b02352a79fc9a68634ce [file] [log] [blame]
/* PR middle-end/97861 - ICE on an invalid redeclaration of a function
with attribute access
{ dg-do compile }
{ dg-options "-Wall" } */
__attribute__ ((access (read_only, 2)))
void f (int, int*);
void f (int a) { } // { dg-error "conflicting types for 'f'" }