c++: Implement for namespace statics CWG 2867 - Order of initialization for structure...
[official-gcc.git] / gcc / testsuite / gcc.dg / pr88074-2.c
bloba93c19dccce6de9493f728cf6a8a66c51c81c6a5
1 /* PR middle-end/88074 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* { dg-add-options float128 } */
5 /* { dg-require-effective-target float128 } */
6 /* { dg-final { scan-tree-dump-not "link_error " "optimized" } } */
8 extern void link_error (void);
9 int
10 main ()
12 if (((__FLT128_MAX__ * 0.5 + __FLT128_MAX__ * 0.5i)
13 / (__FLT128_MAX__ * 0.25 + __FLT128_MAX__ * 0.25i))
14 != (_Complex _Float128) 2)
15 link_error ();
16 return 0;