diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-12-25 17:02:38 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-21 12:55:43 +0100 |
commit | f30ba73582e4c53d4936e9c091d60b187a276373 (patch) | |
tree | 00823303dc54786b85a9b3d0ede5f968be449b64 /gcc/testsuite/rust/compile | |
parent | bb110608484fe488e7cfed42d9c7dee37032a1d8 (diff) | |
download | gcc-f30ba73582e4c53d4936e9c091d60b187a276373.zip gcc-f30ba73582e4c53d4936e9c091d60b187a276373.tar.gz gcc-f30ba73582e4c53d4936e9c091d60b187a276373.tar.bz2 |
gccrs: parser: Add testcases for multiline strings
Regression checks for Rust-GCC#1399
gcc/testsuite/ChangeLog:
* rust/compile/multiline-string.rs: New test.
* rust/execute/torture/multiline-string.rs: New test.
Diffstat (limited to 'gcc/testsuite/rust/compile')
-rw-r--r-- | gcc/testsuite/rust/compile/multiline-string.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/rust/compile/multiline-string.rs b/gcc/testsuite/rust/compile/multiline-string.rs new file mode 100644 index 0000000..fcd6fa8 --- /dev/null +++ b/gcc/testsuite/rust/compile/multiline-string.rs @@ -0,0 +1,14 @@ +fn main() { + let _a = "gcc + + rs"; + + let _b = "rust + + c + gcc + + + + rs"; +} |