* expmed.c (flip_storage_order): Deal with complex modes specially.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / enum-3.c
blobf57bc7f7838b1f7580b99c0b70bd0976e250db7d
1 /* The composite type of int and an enum compatible with int might be
2 either of the two types, but it isn't an unsigned type. */
3 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
5 #include <limits.h>
7 #include <stdio.h>
9 extern void abort (void);
10 extern void exit (int);
12 enum e { a = INT_MIN };
14 int *p;
15 enum e *q;
16 int
17 main (void)
19 enum e x = a;
20 q = &x;
21 if (*(1 ? q : p) > 0)
22 abort ();
23 exit (0);