checks involving function types and aliases
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22430
138bc75d-0d04-0410-961f-
82ee72b054a4
+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