Specify -fno-builtin when testing to make sure that certain stdlib
authorRichard Smith <richard@metafoo.co.uk>
Mon, 18 Apr 2022 02:39:55 +0000 (19:39 -0700)
committerRichard Smith <richard@metafoo.co.uk>
Mon, 18 Apr 2022 02:41:34 +0000 (19:41 -0700)
commitc105bcbf98f343fc3687ccfa675378666434eef5
treebf287fccccecbac69ca629cd80193d42bc6bb38f
parentacfc025a7232052f594719e8e9447368a3b21018
Specify -fno-builtin when testing to make sure that certain stdlib
functions are not treated as [[nodiscard]].

The compiler might choose to treat them as [[nodiscard]] without the
involvement of libc++ if we allow it to recognize them as builtins.
libcxx/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp