about summary refs log tree commit diff
path: root/tests/ui/issues/issue-8727.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-8727.rs')
-rw-r--r--tests/ui/issues/issue-8727.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/ui/issues/issue-8727.rs b/tests/ui/issues/issue-8727.rs
deleted file mode 100644
index c1b60e8e085..00000000000
--- a/tests/ui/issues/issue-8727.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-// Verify the compiler fails with an error on infinite function
-// recursions.
-
-//@ build-fail
-//@ compile-flags: --diagnostic-width=100 -Zwrite-long-types-to-disk=yes
-
-fn generic<T>() { //~ WARN function cannot return without recursing
-    generic::<Option<T>>();
-}
-//~^^ ERROR reached the recursion limit while instantiating `generic::<Option<
-
-
-fn main () {
-    // Use generic<T> at least once to trigger instantiation.
-    generic::<i32>();
-}