summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/constant4.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/parse/constant4.C')
-rw-r--r--gcc/testsuite/g++.dg/parse/constant4.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/parse/constant4.C b/gcc/testsuite/g++.dg/parse/constant4.C
index b2c112ce714..4d9814fb485 100644
--- a/gcc/testsuite/g++.dg/parse/constant4.C
+++ b/gcc/testsuite/g++.dg/parse/constant4.C
@@ -16,7 +16,7 @@ void Foo ()
Y<I> i;
- static const unsigned J = X<T>::J;
+ static const unsigned J = X<T>::J; // { dg-message "not initialized with a constant expression" }
Y<J> j; // { dg-error "constant" "" }
}