Added spec for Struct with hyphenated attributes
Added spec for Struct with hyphenated attributes

Because Struct._specialize (delta) does not check
attribute names, there are a number of names that
could lead to syntactically correct code generated
by _specialize that will raise runtime errors.

See #1811

lucaspinto/rubyspec,scooter-dangle/rubyspec,ruby/rubyspec,eregon/rubyspec,atambo/rubyspec,iainbeeston/rubyspec,jstepien/rubyspec,kidaa/rubyspec,josedonizetti/rubyspec,BanzaiMan/rubyspec,kachick/rubyspec,mbj/rubyspec,BanzaiMan/rubyspec,atambo/rubyspec,iliabylich/rubyspec,wied03/rubyspec,scooter-dangle/rubyspec,iainbeeston/rubyspec,askl56/rubyspec,alexch/rubyspec,saturnflyer/rubyspec,wied03/rubyspec,ruby/spec,ericmeyer/rubyspec,yous/rubyspec,chesterbr/rubyspec,teleological/rubyspec,eregon/rubyspec,DavidEGrayson/rubyspec,bl4ckdu5t/rubyspec,DawidJanczak/rubyspec,wied03/rubyspec,kachick/rubyspec,teleological/rubyspec,DawidJanczak/rubyspec,askl56/rubyspec,bomatson/rubyspec,agrimm/rubyspec,yaauie/rubyspec,sgarciac/spec,eregon/rubyspec,nobu/rubyspec,kidaa/rubyspec,ruby/rubyspec,DavidEGrayson/rubyspec,yous/rubyspec,ericmeyer/rubyspec,ruby/spec,yaauie/rubyspec,yb66/rubyspec,Aesthetikx/rubyspec,Aesthetikx/rubyspec,jstepien/rubyspec,lucaspinto/rubyspec,josedonizetti/rubyspec,jannishuebl/rubyspec,chesterbr/rubyspec,yb66/rubyspec,sgarciac/spec,nobu/rubyspec,sgarciac/spec,mbj/rubyspec,mrkn/rubyspec,sferik/rubyspec,alexch/rubyspec,mrkn/rubyspec,saturnflyer/rubyspec,bomatson/rubyspec,kachick/rubyspec,benlovell/rubyspec,iliabylich/rubyspec,ruby/spec,benlovell/rubyspec,agrimm/rubyspec,jannishuebl/rubyspec,bl4ckdu5t/rubyspec,sferik/rubyspec,nobu/rubyspec