libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / c23-attr-syntax-8.c
blob6fff160dff03aaa6108ee7c26a020ddad6b1a6df
1 /* PR c/114007 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c11" } */
5 #if __has_c_attribute (gnu::unused)
6 [[gnu::unused]]
7 #endif
8 int i;
9 #if __has_cpp_attribute (gnu::unused)
10 [[gnu::unused]]
11 #endif
12 int j;