libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr87929.c
blobf64f7ada442b16246a4ca45820d6a57d0d8768da
1 /* { dg-do compile } */
2 /* { dg-options "-fexceptions -fnon-call-exceptions -fsignaling-nans" } */
4 #define complex __complex__
5 #define _Complex_I (1.0iF)
7 extern void f2c_4d__( complex float *, complex float *);
8 extern void abort (void);
10 void f2c_4c__(void)
12 complex float x,ret_val;
13 x = 1234 + 5678 * _Complex_I;
14 f2c_4d__(&ret_val,&x);
15 if ( x != ret_val ) abort();