about summary refs log tree commit diff
path: root/src/test/ui/cast/cast-int-to-char.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/cast/cast-int-to-char.rs')
-rw-r--r--src/test/ui/cast/cast-int-to-char.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/cast/cast-int-to-char.rs b/src/test/ui/cast/cast-int-to-char.rs
deleted file mode 100644
index 379956968bd..00000000000
--- a/src/test/ui/cast/cast-int-to-char.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-fn foo<T>(_t: T) {}
-
-fn main() {
-    foo::<u32>('0');  //~ ERROR
-    foo::<i32>('0');  //~ ERROR
-    foo::<u64>('0');  //~ ERROR
-    foo::<i64>('0');  //~ ERROR
-    foo::<char>(0u32);  //~ ERROR
-}