blob: fd4ae2d3f3505f69561a686c83f32ac1ca68d9d8 [file] [log] [blame]
// PR c++/67767
// { dg-do compile { target c++11 } }
// { dg-options "-Wsuggest-attribute=noreturn" }
void foo [[gnu::cold, gnu::noreturn]] ();
void foo () // { dg-bogus "function might be candidate for attribute" }
{
throw 1;
}