OSDN Git Service

* NEWS: Document removal of "new X = ..." extension.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.ext / arrnew.C
index 0ecb877..53030e0 100644 (file)
@@ -3,5 +3,5 @@
 // Special g++ Options:
 
 int *f(){
-  return new int[1] = { 1 };   // WARNING - deprecated
+  return new int[1] = { 1 };   // ERROR - removed
 }