summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/concepts/var-templ1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/concepts/var-templ1.C')
-rw-r--r--gcc/testsuite/g++.dg/concepts/var-templ1.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/concepts/var-templ1.C b/gcc/testsuite/g++.dg/concepts/var-templ1.C
index 7dfa2400d3..99ffdc0a48 100644
--- a/gcc/testsuite/g++.dg/concepts/var-templ1.C
+++ b/gcc/testsuite/g++.dg/concepts/var-templ1.C
@@ -13,4 +13,4 @@ template <class T>
constexpr bool f() { return false; }
static_assert(f<void>());
-static_assert(v<void>); // { dg-error "constraints" }
+static_assert(v<void>); // { dg-error "invalid" }