libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / c23-attr-reproducible-4.c
blob94a122e5cb911f461a2adb573d4e3b3993833757
1 /* Test C23 reproducible attribute: duplicates. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
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 } */