[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / conv-3.c
blob3b4f4309d9df1cbe89f17f1468fd60cc71e0d3ee
1 /* PR middle-end/19100 */
2 /* { dg-do run } */
3 /* { dg-options "-O2" } */
5 void abort (void);
7 int test (int v)
9 return ((signed char) (v ? 0x100 : 0)) ? 17 : 18;
12 int main()
14 if (test (2) != 18)
15 abort ();
16 return 0;