summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.dg/pr102185.d
blob: 39823a3c556f8e0639c32cf057ff508a56b4eb0f (plain)
1
2
3
4
5
6
7
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102185
// { dg-do compile }

static assert(__traits(getTargetInfo, "floatAbi").length == 0 ||
              __traits(getTargetInfo, "floatAbi") == "hard" ||
              __traits(getTargetInfo, "floatAbi") == "soft" ||
              __traits(getTargetInfo, "floatAbi") == "softfp");