Re: Dejagnu testcase behavior unexpected

2010-09-15 Thread David Weiser
Thanks for the reply. I made the changes that you described, but I'm still experiencing the same behavior--namely that I think that I should see two unexpected errors since 1) the test case will not compile and 2) the expected error message is not printed. Here are the steps to reproduce (assumin

Re: Dejagnu testcase behavior unexpected

2010-09-14 Thread Ian Lance Taylor
David Weiser writes: > I am looking at  bug number 99 on > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=99 and I am adding a test > case for it. > The testcase looks like this: > //---start test case > /* > {do-run compile} > */ This should be /* { dg-do compile } */ or, equivalently fo

Dejagnu testcase behavior unexpected

2010-09-14 Thread David Weiser
Howdy, I am looking at  bug number 99 on http://gcc.gnu.org/bugzilla/show_bug.cgi?id=99 and I am adding a test case for it. The testcase looks like this: //---start test case /* {do-run compile} */ template class X {};   template int f(X, X);   template int f(X, X);   int main(void) {