Skip to content
Snippets Groups Projects
Commit 6b57ac29 authored by Jason Merrill's avatar Jason Merrill
Browse files

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
parent 51c4eb9b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment