* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / sancov / basic1.c
blobe0ae5b4d7b70879ae04a08164e7e8e6ac5b084b9
1 /* Basic test on number of inserted callbacks. */
2 /* { dg-do compile } */
3 /* { dg-options "-fsanitize-coverage=trace-pc -fdump-tree-optimized" } */
5 void foo (int *a, int *b, int *c)
7 *a = 1;
8 if (*b)
9 *c = 2;
12 /* { dg-final { scan-tree-dump-times "__builtin___sanitizer_cov_trace_pc \\(\\)" 3 "optimized" } } */