summaryrefslogtreecommitdiff
path: root/test/profile/Inputs/instrprof-order-file-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/profile/Inputs/instrprof-order-file-2.c')
-rw-r--r--test/profile/Inputs/instrprof-order-file-2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/profile/Inputs/instrprof-order-file-2.c b/test/profile/Inputs/instrprof-order-file-2.c
new file mode 100644
index 000000000..ee4485756
--- /dev/null
+++ b/test/profile/Inputs/instrprof-order-file-2.c
@@ -0,0 +1,7 @@
+__attribute__((noinline)) int f(int a) {
+ return a + 1;
+}
+
+__attribute__((noinline)) int g(int a) {
+ return a + 2;
+}