Another bogus case added

From-SVN: r32673
This commit is contained in:
Kaveh Ghazi 2000-03-21 19:08:19 +00:00
parent 4287843d62
commit 485976a9f5
1 changed files with 7 additions and 0 deletions

View File

@ -48,3 +48,10 @@ foo7(void)
{
foo6();
} /* { dg-bogus "warning:" "this function should not get any warnings" } */
extern void foo8(void) __attribute__ ((__noreturn__));
void
foo8(void)
{
foo7();
} /* { dg-warning "`noreturn' function does return" "detect return from tail call" } */