summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/raw-ident-in-path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/resolve/raw-ident-in-path.rs')
-rw-r--r--src/test/ui/resolve/raw-ident-in-path.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/resolve/raw-ident-in-path.rs b/src/test/ui/resolve/raw-ident-in-path.rs
new file mode 100644
index 000000000..7f1163beb
--- /dev/null
+++ b/src/test/ui/resolve/raw-ident-in-path.rs
@@ -0,0 +1,5 @@
+// Regression test for issue #63882.
+
+type A = crate::r#break; //~ ERROR cannot find type `r#break` in the crate root
+
+fn main() {}