1 /* Test C2x nodiscard attribute: duplicates (allowed after N2557). */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c2x -pedantic-errors" } */
4
5 [[nodiscard, __nodiscard__]] int f (void);
6 [[__nodiscard__, nodiscard("message")]] int g (void);