]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/no-signed-zeros-1.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / no-signed-zeros-1.c
CommitLineData
1949d754
MK
1/* Test __NO_SIGNED_ZEROS__ is defined with -fno-signed-zeros. */
2/* { dg-do compile } */
3/* { dg-options "-fno-signed-zeros" } */
4
5#ifndef __NO_SIGNED_ZEROS__
6#error "__NO_SIGNED_ZEROS__ not defined"
7#endif
8
9#pragma GCC optimize "-fsigned-zeros"
10#ifdef __NO_SIGNED_ZEROS__
11#error "__NO_SIGNED_ZEROS__ defined"
12#endif
13
14#pragma GCC optimize "-fno-signed-zeros"
15#ifndef __NO_SIGNED_ZEROS__
16#error "__NO_SIGNED_ZEROS__ not defined"
17#endif