c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / c-c++-common / Winit-self1.c
blob740b83b5e9f3d1d5b5c6663eed6c198e9dd80c1c
1 /* PR middle-end/102633 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wuninitialized -Wno-init-self" } */
5 int
6 fn1 (void)
8 int i = i;
9 return i;
12 int
13 fn2 ()
15 const int j = j;
16 return j;
19 int
20 fn3 ()
22 volatile int k = k;
23 return k;
26 int
27 fn4 ()
29 const volatile int l = l;
30 return l;