1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
3 /* { dg-require-effective-target dfp } */
4
5 /* We do not support DFPs. */
6
foo(short x)7 int foo(short x) {
8 /* { dg-final { scan-tree-dump "\\(_Decimal32\\)" "optimized" } } */
9 return (_Decimal32) x != 0;
10 }
11