1 /* { dg-do compile } */
2 /* { dg-options "-fdiagnostics-format=sarif-file" } */
4 extern void acquire_lock_a(void);
5 extern void acquire_lock_b(void);
19 /* Verify that some JSON was written to a file with the expected name. */
20 /* { dg-final { verify-sarif-file } } */
22 /* Use a Python script to verify various properties about the generated
24 { dg-final { run-sarif-pytest diagnostic-test-paths-multithreaded-sarif.c "diagnostic-test-paths-multithreaded-sarif.py" } } */