]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/attr-access-4.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / attr-access-4.c
CommitLineData
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)))
7void f (int, int*);
8void f (int a) { } // { dg-error "conflicting types for 'f'" }