diff options
Diffstat (limited to 'test/SemaCXX/discrim-union.cpp')
-rw-r--r-- | test/SemaCXX/discrim-union.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/discrim-union.cpp b/test/SemaCXX/discrim-union.cpp index 15c9a225ed..43629f316b 100644 --- a/test/SemaCXX/discrim-union.cpp +++ b/test/SemaCXX/discrim-union.cpp @@ -76,7 +76,7 @@ public: impl(detail::select<impl_t::index(detail::type<U>())>(), move(t.value)) {} // Destruction disabled to allow use in a constant expression. - // FIXME: declare a destructor iff any element has a nontrivial destructor + // FIXME: declare a destructor if any element has a nontrivial destructor //~either() { impl.destroy(elem); } constexpr unsigned index() noexcept { return elem; } |