[sv-ec] label after endfunction for out-of-scope function definition

From: Daniel Mlynek <daniel.mlynek_at_.....>
Date: Fri Jan 30 2009 - 06:38:44 PST
Please see below example which endfunction label is correct: f or C::f ???
 
 
class C;
        extern function int f;
endclass
 
function C::f();
        int i;
        return i;
 
 
endfunction : f //this one is ok?
    vs.
endfunction : C::f //or this one is ok?

 
DANiel

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Jan 30 06:39:32 2009

This archive was generated by hypermail 2.1.8 : Fri Jan 30 2009 - 06:40:20 PST