]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/c2x-attr-nodiscard-4.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / c2x-attr-nodiscard-4.c
CommitLineData
c19e44ac
JM
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);