> For this you really need every test to assert whether it is a warning or > an error, using > > dg-warning "warning: ..." > > or > > dg-error "error: ..." Ah, I was wondering how to do that. I did note that dg-error and dg-warning didn't seem to differentiate on their own.