aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr80692.c
blob: e653c71c91307664455ef49e25ee6a80d3723c1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-require-effective-target dfp } */

int main () {
	_Decimal64 d64 = -0.DD;

	if (d64 != 0.DD)
		__builtin_abort ();

	if (d64 != -0.DD)
		__builtin_abort ();

	return 0;
}