27c5416f MS |
1 | /* PR middle-end/97861 - ICE on an invalid redeclaration of a function |
2 | with attribute access |
3 | { dg-do compile } |
4 | { dg-options "-Wall" } */ |
5 | |
6 | __attribute__ ((access (read_only, 2))) |
7 | void f (int, int*); |
8 | void f (int a) { } // { dg-error "conflicting types for 'f'" } |