OSDN Git Service

* call.c (null_ptr_cst_p): Use maybe_constant_value.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / constant4.C
index d69f60b..b2c112c 100644 (file)
@@ -18,7 +18,7 @@ void Foo ()
   
   static const unsigned J = X<T>::J;
   
-  Y<J> j; // { dg-error "non-constant" "" }
+  Y<J> j; // { dg-error "constant" "" }
 }
 
 struct A