decl.c (push_namespace): Namespaces have type void.
authorJason Merrill <jason@gcc.gnu.org>
Sun, 24 May 1998 22:37:10 +0000 (18:37 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 24 May 1998 22:37:10 +0000 (18:37 -0400)
commit6b57ac2977821017212b879c4d0a80ed0f646ce5
tree25d733423b5b8852475581fdaff777239157f6f2
parent51c4eb9bbfd126580e88d86b8d740d2c0c011558
decl.c (push_namespace): Namespaces have type void.

* decl.c (push_namespace): Namespaces have type void.
* typeck2.c (incomplete_type_error): Complain about namespace
used as expression.
* typeck.c (decay_conversion): Likewise.
* error.c (dump_expr): Support namespaces.

From-SVN: r20035
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/error.c
gcc/cp/typeck.c
gcc/cp/typeck2.c