Hi, I want to write a testcase. The compiler gives two separated warnings on one statement. How to write this with Dejagnu?
I tried: { dg-warning "Warning1" "Warning2" } and { dg-warning "Warning1" 8} { dg-warning "Warning2" 8} 8 is the line number of the statment. But alwarys get excess errors. The testcase is used to test one patch for gfortran. Sorry have no more concrete program for this question. Best Regards, Feng Wang -- Creative Compiler Research Group, National University of Defense Technology, China. ___________________________________________________________ 雅虎免费G邮箱-No.1的防毒防垃圾超大邮箱 http://cn.mail.yahoo.com/?id=77072