summaryrefslogtreecommitdiff
path: root/tests/src/string-chars.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/string-chars.rs')
-rw-r--r--tests/src/string-chars.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/src/string-chars.rs b/tests/src/string-chars.rs
new file mode 100644
index 00000000..f8490e76
--- /dev/null
+++ b/tests/src/string-chars.rs
@@ -0,0 +1,7 @@
+//@ [lean] known-failure
+//@ [coq,fstar] skip
+//@ no-check-output
+fn main() {
+ let s = "hello";
+ let _chs: Vec<char> = s.chars().collect();
+}