summaryrefslogtreecommitdiff
path: root/tests/src/string-chars.rs
diff options
context:
space:
mode:
authorGuillaume Boisseau2024-05-27 15:20:52 +0200
committerGitHub2024-05-27 15:20:52 +0200
commit4f26c7f6f1e554d8ec2f46e868d5dc66c4160d16 (patch)
tree91c154b6fdc0384e6640e879e140633ffc9599bc /tests/src/string-chars.rs
parentad9b5143618537de8377912f8c60cf6375737cb1 (diff)
parentfb16d0af4caacd2c9a3463f6d2b455209b755697 (diff)
Merge pull request #209 from AeneasVerif/negative-tests
Diffstat (limited to '')
-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();
+}