On 11/21/2011 11:41 AM, Dodji Seketeli wrote:
-template class Ptr<int>;//{ dg-error "explicit instantiation|non-class templ|does 
not decl|anything" }
+template class Ptr<int>;//{ dg-error "alias 
templ|specialization|Ptr<int>|after|class" }

You seem to be using | to mean .* here. Let's choose one key phrase to check for. :)

-struct A { typedef int X; };            // { dg-error "previous declaration" }
+struct A { typedef int X; };

Let's change dg-error to dg-message instead of dropping the check entirely on at least one of these tests to avoid a diagnostic quality regression.

OK with those changes.

Jason

Reply via email to