RE: [sv-bc] void function

From: Rich, Dave <Dave_Rich_at_.....>
Date: Tue Mar 21 2006 - 00:53:03 PST
Krishanu,

I think since no operator is defined for the void type, no expression or
assignment would be legal and a special syntactic restriction is not
needed. 

Dave


> -----Original Message-----
> From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of
> Krishanu Debnath
> Sent: Monday, March 20, 2006 11:23 PM
> To: sv-bc@eda.org
> Subject: [sv-bc] void function
> 
> Hello,
> 
> For void functions, using function name in expressions or on the left
side
> of an
> assignment make no sense. Does standard forbid this? Does standard
mention
> anywhere that such sort of 'syntax' requires diagnostics(compile/run
> time)?
> 
> 
> Krishanu
> 
> 
Received on Tue Mar 21 00:53:10 2006

This archive was generated by hypermail 2.1.8 : Tue Mar 21 2006 - 00:53:19 PST