blob: 1d4680d28e6e0d5c4f155774f5f94b4bc4886aee (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile } */
__attribute__ ((returns_twice)) int
bp (int);
__attribute__ ((noreturn)) int
cb (void)
{
return bp (cb ()); /* { dg-warning "declared .noreturn." } */
}
|