libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / sarif-output / no-diagnostics.c
blob2536e2ec91b027d14b951bb2f9aea2cef61d950b
1 /* { dg-do compile } */
2 /* { dg-options "-fdiagnostics-format=sarif-file" } */
4 /* Verify our SARIF output for a translation unit with no diagnostics. */
6 int nonempty;
8 /* Verify that some JSON was written to a file with the expected name:
9 { dg-final { verify-sarif-file } } */
11 /* Use a Python script to verify various properties about the generated
12 .sarif file:
13 { dg-final { run-sarif-pytest no-diagnostics.c "test-no-diagnostics.py" } } */