summaryrefslogtreecommitdiffstats
path: root/tests/run-make/pgo-branch-weights/opaque.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/pgo-branch-weights/opaque.rs')
-rw-r--r--tests/run-make/pgo-branch-weights/opaque.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-make/pgo-branch-weights/opaque.rs b/tests/run-make/pgo-branch-weights/opaque.rs
new file mode 100644
index 000000000..72f93c9fe
--- /dev/null
+++ b/tests/run-make/pgo-branch-weights/opaque.rs
@@ -0,0 +1,6 @@
+#![crate_name="opaque"]
+#![crate_type="rlib"]
+
+pub fn f1() {}
+pub fn f2() {}
+pub fn f3() {}