Index: src/SymTab/FixFunction.cc
===================================================================
--- src/SymTab/FixFunction.cc	(revision 8913de40029583229718472d971b802c9a8735d7)
+++ src/SymTab/FixFunction.cc	(revision b2ecd4801c2bbbcda494bff1458244b61abd1662)
@@ -109,6 +109,8 @@
 
 		const ast::DeclWithType * postvisit( const ast::FunctionDecl * func ) {
-			return new ast::ObjectDecl{ 
-				func->location, func->name, new ast::PointerType{ func->type }, nullptr, 
+			// Cannot handle cases with asserions.
+			assert( func->assertions.empty() );
+			return new ast::ObjectDecl{
+				func->location, func->name, new ast::PointerType( func->type ), nullptr,
 				func->storage, func->linkage, nullptr, copy( func->attributes ) };
 		}
@@ -117,6 +119,6 @@
 
 		const ast::Type * postvisit( const ast::ArrayType * array ) {
-			return new ast::PointerType{ 
-				array->base, array->dimension, array->isVarLen, array->isStatic, 
+			return new ast::PointerType{
+				array->base, array->dimension, array->isVarLen, array->isStatic,
 				array->qualifiers };
 		}
