Debian Codegraph @

gcc/testsuite/gcc.dg/c23-attr-reproducible-4.c

raw
1 /* Test C23 reproducible attribute: duplicates. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
4
5 int a () [[reproducible, __reproducible__]];
6 int b () [[__reproducible__, reproducible]];
7 int c () [[reproducible, reproducible]];
8 int d () [[__reproducible__, __reproducible__]];
9 int d () [[reproducible]];
10 int d () [[__reproducible__]];
11 [[reproducible, reproducible]];
12 /* { dg-error "ignored" "ignored" { target *-*-* } .-1 } */