about summary refs log tree commit diff
path: root/tests/ui/parser/nested-block-comments.rs
diff options
context:
space:
mode:
authorKivooeo <Kivooeo123@gmail.com>2025-06-29 21:04:41 +0500
committerKivooeo <Kivooeo123@gmail.com>2025-07-01 15:22:16 +0500
commit6ca9b43ea9f50d5e77dc0f8d4d62283017b3f1b0 (patch)
treef6d8e61f47506bc383ed537ab7678c9421780801 /tests/ui/parser/nested-block-comments.rs
parent5ca574e85b67cec0a6fc3fddfe398cbe676c9c69 (diff)
downloadrust-6ca9b43ea9f50d5e77dc0f8d4d62283017b3f1b0.tar.gz
rust-6ca9b43ea9f50d5e77dc0f8d4d62283017b3f1b0.zip
moved test files
Diffstat (limited to 'tests/ui/parser/nested-block-comments.rs')
-rw-r--r--tests/ui/parser/nested-block-comments.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/parser/nested-block-comments.rs b/tests/ui/parser/nested-block-comments.rs
new file mode 100644
index 00000000000..008df27e0e2
--- /dev/null
+++ b/tests/ui/parser/nested-block-comments.rs
@@ -0,0 +1,11 @@
+//@ run-pass
+
+/* This test checks that nested comments are supported
+
+   /*
+     This should not panic
+   */
+*/
+
+pub fn main() {
+}