title: Return the current value of an enum
body: <p>The following code is supposed to return current item name</p>
  
  <pre><code>typedef enum ItemName {test1, test2} ItemName;
  - (BOOL)DoItemName{return ItemName;}
  </code></pre>
  
  <p>But I receive this error:</p>
  
  <pre><code>error: Semantic Issue: Unexpected type name 'ItemName': expected expression
  </code></pre>