mve: Fix vsetq_lane for 64-bit elements with lane 1 [PR 115611]
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr53922.c
blob07359d676496415a45efa1eefbabe975cb3f208c
1 /* { dg-do run { target { weak_undefined } } } */
2 /* { dg-add-options weak_undefined } */
4 int x(int a)
6 return a;
8 int y(int a) __attribute__ ((weak));
9 int g = 0;
10 int main()
12 int (*scan_func)(int);
13 if (g)
14 scan_func = x;
15 else
16 scan_func = y;
18 if (scan_func)
19 g = scan_func(10);
21 return 0;