[libcxx-commits] [libcxx] [libcxx][test] Add feature for platforms where long double is double (PR #103903)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 27 10:16:17 PDT 2024


https://github.com/philnik777 commented:

Couldn't we just do something like
```c++
#if __SIZEOF_LONG_DOUBLE__ != __SIZEOF_DOUBLE__
// test
#else
// exptected-no-diagnostics (or whatever the magic comment was)
#endif
```
?

https://github.com/llvm/llvm-project/pull/103903


More information about the libcxx-commits mailing list