It is not a solution, the definition of AA in this case disappeared.
root [1] {
end with '}'> struct AA { int ia;};
end with '}'> }
root [2] a AA;
Error: No symbol aAA in current scope  FILE:/var/tmp/baaa001wM LINE:1
*** Interpreter error recovered ***
Victor
-- 
-------------------------------------------------------------------------
Victor M. Perevoztchikov         perev@uther1.phy.ornl.gov  [ US
                                 perev@vxcern.cern.ch       [ CH
                                 perev@mx.ihep.su           [ RUS
Oak Ridge National Laboratory, MS 6374, Oak Ridge, TN 37831 (423-574 5928)
                                                       Fax  (423-576 5780)
University of Tennessee, Knoxville, TN 37996-1200  (secre-at 423-974 3342)
9015 Ten Mile Rd. #209 Knoxville TN 37923                   (423-693 2639)