]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/g++.dg/template/qualified-id3.C
call.c (null_ptr_cst_p): Use maybe_constant_value.
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / template / qualified-id3.C
index d97ef5c592b7a90b63fd22e51f0b786f3ded0e91..1fc1cc320506b5d86ad214b762c6dfb500974690 100644 (file)
@@ -3,7 +3,7 @@
 template <const int N> struct A { };
 template <class T> struct B {
   static const int c;
-  typedef A<B<T>::c> C;                // { dg-error "non-constant" }
+  typedef A<B<T>::c> C;                // { dg-error "constant expression" }
 };
 template <class T> const int B<T>::c = sizeof (T);