libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / attr-access-4.c
blob7a2870a0ee43f94b1827b02352a79fc9a68634ce
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" } */
6 __attribute__ ((access (read_only, 2)))
7 void f (int, int*);
8 void f (int a) { } // { dg-error "conflicting types for 'f'" }