summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/const-arg-in-fn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/const-generics/const-arg-in-fn.rs')
-rw-r--r--src/test/ui/const-generics/const-arg-in-fn.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/const-generics/const-arg-in-fn.rs b/src/test/ui/const-generics/const-arg-in-fn.rs
deleted file mode 100644
index 9b225b18d..000000000
--- a/src/test/ui/const-generics/const-arg-in-fn.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-// run-pass
-fn const_u32_identity<const X: u32>() -> u32 {
- X
-}
-
- fn main() {
- let val = const_u32_identity::<18>();
- assert_eq!(val, 18);
-}