-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
Regression checks for #1399 gcc/testsuite/ChangeLog: * rust/compile/multiline-string.rs: New test. * rust/execute/torture/multiline-string.rs: New test.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
fn main() { | ||
let _a = "gcc | ||
rs"; | ||
|
||
let _b = "rust | ||
c | ||
gcc | ||
rs"; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// { dg-output "gcc\n\n\nrs" } | ||
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-32bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-32bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-32bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-32bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-32bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-32bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-32bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bit-glibcxxTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bit-glibcxxTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bit-glibcxxTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bit-glibcxxTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bit-glibcxxTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bit-glibcxxTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-ubuntu-64bit-glibcxxTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-asanTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-asanTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-asanTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-asanTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-asanTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-asanTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-and-check-asanTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-alpine-32bit-and-check-alpine-32bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-alpine-32bit-and-check-alpine-32bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-alpine-32bit-and-check-alpine-32bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-alpine-32bit-and-check-alpine-32bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-alpine-32bit-and-check-alpine-32bitTest failure (FAIL)
Check failure on line 1 in gcc/testsuite/rust/execute/torture/multiline-string.rs GitHub Actions / build-alpine-32bit-and-check-alpine-32bitTest failure (FAIL)
|
||
|
||
extern "C" { | ||
fn printf(fmt: *const i8, ...); | ||
} | ||
|
||
fn main() { | ||
let a = "gcc | ||
rs\0"; | ||
|
||
unsafe { printf("%s\n\0" as *const str as *const i8, a as *const str as *const i8); } | ||
} |