1 // PR c++/60365 2 // { dg-do compile { target c++14 } } 3 4 void func [[deprecated, deprecated]] (); // { dg-error "at most once" } 5