diff options
Diffstat (limited to 'test/profile/Inputs/instrprof-dynamic-header.h')
-rw-r--r-- | test/profile/Inputs/instrprof-dynamic-header.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/profile/Inputs/instrprof-dynamic-header.h b/test/profile/Inputs/instrprof-dynamic-header.h index 1dc2e37ef82c..7a57b13c67f9 100644 --- a/test/profile/Inputs/instrprof-dynamic-header.h +++ b/test/profile/Inputs/instrprof-dynamic-header.h @@ -1,5 +1,7 @@ -template <class T> void bar() { - if (true) {} +template <class T> void bar(int X) { + if (X) { + X *= 4; + } } void a(); void b(); |