Commit 2aca5b9b by Jeffrey A Law Committed by Jeff Law

* gcc.dg/ifelse-1.c: New test.

From-SVN: r17885
parent 567f3d36
Fri Feb 13 00:36:07 1998 Jeffrey A Law (law@cygnus.com)
* gcc.dg/ifelse-1.c: New test.
Mon Feb 9 02:08:47 1998 H.J. Lu (hjl@gnu.org)
......
/*
{ dg-do compile }
{ dg-options "-W -Wall" }
*/
extern int bar ();
extern int com ();
extern int baz ();
void
foo (a,b)
int a, b;
{
if (a)
if (b)
bar ();
else
com (); /* { dg-bogus ".*warning.*" "bogus warning" { xfail *-*-* } } */
else
baz ();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment