1 // This is not a thorough test, but at least it's something. It's hard to do
2 // much better because the exact number of instructions executed is
5 #include "../cachegrind.h"
8 CACHEGRIND_START_INSTRUMENTATION
; // warning with `--instr-at-start=yes`
9 CACHEGRIND_STOP_INSTRUMENTATION
;
10 CACHEGRIND_START_INSTRUMENTATION
;
11 CACHEGRIND_START_INSTRUMENTATION
; // warning
12 CACHEGRIND_STOP_INSTRUMENTATION
;
13 CACHEGRIND_STOP_INSTRUMENTATION
; // warning