summaryrefslogtreecommitdiff
path: root/test/SemaCXX/discrim-union.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/discrim-union.cpp')
-rw-r--r--test/SemaCXX/discrim-union.cpp2
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; }