Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/UsageTests/ToStringWhich.tests.cpp
diff options
context:
space:
mode:
authorLeitwolf2026-11-01 00:19:54 +0300
committerGitHub2026-11-01 00:19:54 +0300
commit42c68725c816963ec6529dd635d5aaaac23b1c05 (patch)
treeac786439ffa1dac0a0bbe0f48b4182e80354fa8f /tests/SelfTest/UsageTests/ToStringWhich.tests.cpp
parent96eda873ea3b5599035471fbb3399c7f1984f644 (diff)
parenta22163b099e8a3834fb0427ced4e03e858ad3ea5 (diff)
downloadcatch3-42c68725c816963ec6529dd635d5aaaac23b1c05.tar.gz
Merge pull request #25 from Progmasoft/fix/clang-cl-unused-function
Keep the unused operator quiet under clang-cl too
Diffstat (limited to 'tests/SelfTest/UsageTests/ToStringWhich.tests.cpp')
-rw-r--r--tests/SelfTest/UsageTests/ToStringWhich.tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SelfTest/UsageTests/ToStringWhich.tests.cpp b/tests/SelfTest/UsageTests/ToStringWhich.tests.cpp
index 67fa9566..4e2d492c 100644
--- a/tests/SelfTest/UsageTests/ToStringWhich.tests.cpp
+++ b/tests/SelfTest/UsageTests/ToStringWhich.tests.cpp
@@ -10,7 +10,7 @@
-#if defined(__GNUC__)
+#if defined(__GNUC__) || defined(__clang__)
// This has to be left enabled until end of the TU, because the GCC
// frontend reports operator<<(std::ostream& os, const has_maker_and_operator&)
// as unused anyway