gcc/testsuite/gdc.dg/pr102185.d
raw| 1 | // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102185 |
| 2 | // { dg-do compile } |
| 3 | |
| 4 | static assert(__traits(getTargetInfo, "floatAbi").length == 0 || |
| 5 | __traits(getTargetInfo, "floatAbi") == "hard" || |
| 6 | __traits(getTargetInfo, "floatAbi") == "soft" || |
| 7 | __traits(getTargetInfo, "floatAbi") == "softfp"); |