* g++.old-deja/g++.other/typedef5.C: add some more tests involving
checks involving function types and aliases
From-SVN: r22430
+1998-09-15 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * g++.old-deja/g++.other/typedef5.C: add some more tests involving
+ checks involving function types and aliases
+
1998-09-12 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/typedef5.C: check whether typedefs can be
typedef int t;
typedef t* u;
+typedef u v;
+typedef v* (*w)(t);
typedef int t;
typedef t* u;
+typedef u v;
+typedef v* (*w)(t const); // this is ok
+typedef v* (*w)(t); // ERROR - covers message `previously declared here'
+typedef v* (*const w)(t); // ERROR - invalid redeclaration
+typedef v const* (*w)(t); // ERROR - invalid redeclaration
+typedef v* const (*w)(t); // ERROR - invalid redeclaration