summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/warn-unused-filescoped.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/warn-unused-filescoped.cpp')
-rw-r--r--clang/test/SemaCXX/warn-unused-filescoped.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/warn-unused-filescoped.cpp b/clang/test/SemaCXX/warn-unused-filescoped.cpp
index 93c6bbd7edc..e052ecb1af9 100644
--- a/clang/test/SemaCXX/warn-unused-filescoped.cpp
+++ b/clang/test/SemaCXX/warn-unused-filescoped.cpp
@@ -207,8 +207,9 @@ static void completeRedeclChainForTemplateSpecialization() { } // expected-warni
namespace test10 {
#if __cplusplus >= 201103L
+// FIXME: Warn on template definitions with no instantiations?
template<class T>
-constexpr T pi = T(3.14); // expected-warning {{unused}}
+constexpr T pi = T(3.14);
#endif
}
OpenPOWER on IntegriCloud