summaryrefslogtreecommitdiffstats
path: root/tests/testsuite/mock-std/library/alloc/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuite/mock-std/library/alloc/src/lib.rs')
-rw-r--r--tests/testsuite/mock-std/library/alloc/src/lib.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testsuite/mock-std/library/alloc/src/lib.rs b/tests/testsuite/mock-std/library/alloc/src/lib.rs
new file mode 100644
index 0000000..823716e
--- /dev/null
+++ b/tests/testsuite/mock-std/library/alloc/src/lib.rs
@@ -0,0 +1,11 @@
+#![feature(staged_api)]
+#![stable(since = "1.0.0", feature = "dummy")]
+
+extern crate alloc;
+
+#[stable(since = "1.0.0", feature = "dummy")]
+pub use alloc::*;
+
+#[stable(since = "1.0.0", feature = "dummy")]
+pub fn custom_api() {
+}