summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/instrument-1.c
blob: 1e2d8acc6677a2fa225316f85e0befa43bf7f453 (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */
/* { dg-options "-finstrument-functions" } */

void fn () { }

/* { dg-final { scan-assembler "__cyg_profile_func_enter" } } */
/* { dg-final { scan-assembler "__cyg_profile_func_exit" } } */