Commit 485976a9 by Kaveh Ghazi

Another bogus case added

From-SVN: r32673
parent 4287843d
......@@ -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" } */
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