regtest: broaden none/tests/linux/bug498317 suppression for PPC
[valgrind.git] / cachegrind / tests / clreq2.c
blob842ee2ffd92022d74c5ea7cbd765cfe6e7f7dd7d
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
3 // unpredictable.
5 #include "../cachegrind.h"
7 int main(void) {
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