summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/lazy-norm/cast-checks-handling-projections.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/typeck/lazy-norm/cast-checks-handling-projections.rs')
-rw-r--r--tests/ui/typeck/lazy-norm/cast-checks-handling-projections.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/typeck/lazy-norm/cast-checks-handling-projections.rs b/tests/ui/typeck/lazy-norm/cast-checks-handling-projections.rs
new file mode 100644
index 000000000..5ff567cd0
--- /dev/null
+++ b/tests/ui/typeck/lazy-norm/cast-checks-handling-projections.rs
@@ -0,0 +1,6 @@
+// compile-flags: -Ztrait-solver=next
+// known-bug: unknown
+
+fn main() {
+ (0u8 + 0u8) as char;
+}