[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / tst_6.c
blobf15ec114c391fed79cc43b7740fde83fb3d4ea53
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 int
5 foo (long x)
7 return ((short) x != 0) ? x : 1;
10 /* { dg-final { scan-assembler "tst\t(x|w)\[0-9\]+,\[ \t\]*65535" } } */