]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/unpretty/ast-const-trait-bound.rs
Expand const-if-const trait bounds correctly
[rust.git] / tests / ui / unpretty / ast-const-trait-bound.rs
diff --git a/tests/ui/unpretty/ast-const-trait-bound.rs b/tests/ui/unpretty/ast-const-trait-bound.rs
new file mode 100644 (file)
index 0000000..dbcba78
--- /dev/null
@@ -0,0 +1,4 @@
+// compile-flags: -Zunpretty=normal
+// check-pass
+
+fn foo() where T: ~const Bar {}