[ARM] Fix test armv8_2-fp16-move-1.c
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr59575.c
blob13494f46354b4659dd3e9dc04d383124def1f60f
1 /* PR target/59575 */
2 /* { dg-do compile } */
3 /* { dg-options "-Os -g -march=armv7-a" } */
5 void foo (int *);
6 int *bar (int, long long, int);
8 void
9 test (int *p)
11 if (p)
12 foo (p);
13 else if (p = bar (0, 1, 2))
14 foo (p);