OK.
On Sun, May 29, 2016 at 6:49 PM, Paolo Carlini <paolo.carl...@oracle.com> wrote: > Hi, > > submitter noticed that for wrong uses of 'virtual' outside of template > classes (B in the testcase) vs plain classes (A) we wrongly emit the > "templates may not be %<virtual%>" error message. Simply checking > current_class_type seems enough to solve the problem. Case C in the extended > testcase double checks that we still give the "templates may not be > %<virtual%>" error message when appropriate. Tested x86_64-linux. > > Thanks, > Paolo. > > //////////////////////////