arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git] / gcc / testsuite / gcc.dg / plugin / diagnostic-test-paths-multithreaded-sarif.c
blobf0f31d01fef9c67b8c8353cbba1359bd531c2da2
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);
7 void foo ()
9 acquire_lock_a ();
10 acquire_lock_b ();
13 void bar ()
15 acquire_lock_b ();
16 acquire_lock_a ();
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
23 .sarif file:
24 { dg-final { run-sarif-pytest diagnostic-test-paths-multithreaded-sarif.c "diagnostic-test-paths-multithreaded-sarif.py" } } */