Implement C _FloatN, _FloatNx types.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr53272-2.c
blobf5065a785b747daf0ce78f0a6a208f078b708e01
1 __attribute__ ((__noinline__, __noclone__))
2 int foo(void *x)
4 asm ("");
5 return *(int *) x != 42;
8 __attribute__ ((__noinline__, __noclone__))
9 void foobar(void *x)
11 asm ("");
12 if (foo(x))
13 __builtin_abort();
16 struct rtc_class_ops {
17 int (*f)(void *, unsigned int enabled);
20 struct rtc_device
22 void *owner;
23 struct rtc_class_ops *ops;
24 int ops_lock;
27 extern __attribute__ ((__noinline__, __noclone__))
28 int rtc_update_irq_enable(struct rtc_device *rtc, unsigned int);
30 int main(void)
32 struct rtc_class_ops ops = {(void *) 0};
33 struct rtc_device dev1 = {0, &ops, 42};
35 if (rtc_update_irq_enable (&dev1, 1) != -22)
36 __builtin_abort ();
38 __builtin_exit (0);