diff options
| author | Folkert de Vries <flokkievids@gmail.com> | 2025-07-23 13:26:30 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-23 13:26:30 +0000 |
| commit | 0231fa9adfdc4c03d122087a4400a8199b97a369 (patch) | |
| tree | e783ca2321426d54b49a031bc9e3ceda4f076375 /tests/codegen/debug-column.rs | |
| parent | 75fc5ceefb9dc46a1e0956143c98eb419ce2e3b5 (diff) | |
| parent | 8f0ffa8125f00af923098b30f390f6597b89d80d (diff) | |
| download | rust-0231fa9adfdc4c03d122087a4400a8199b97a369.tar.gz rust-0231fa9adfdc4c03d122087a4400a8199b97a369.zip | |
Merge pull request #1883 from Kobzol/pull
Rustc pull update
Diffstat (limited to 'tests/codegen/debug-column.rs')
| -rw-r--r-- | tests/codegen/debug-column.rs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/codegen/debug-column.rs b/tests/codegen/debug-column.rs deleted file mode 100644 index 2aa0a8a864c..00000000000 --- a/tests/codegen/debug-column.rs +++ /dev/null @@ -1,25 +0,0 @@ -// Verify that debuginfo column numbers are 1-based byte offsets. -// -//@ ignore-msvc -//@ compile-flags: -C debuginfo=2 - -#[rustfmt::skip] -fn main() { - unsafe { - // Column numbers are 1-based. Regression test for #65437. - // CHECK: call void @giraffe(){{( #[0-9]+)?}}, !dbg [[A:!.*]] - giraffe(); - - // Column numbers use byte offests. Regression test for #67360 - // CHECK: call void @turtle(){{( #[0-9]+)?}}, !dbg [[B:!.*]] -/* ż */ turtle(); - - // CHECK: [[A]] = !DILocation(line: 11, column: 9, - // CHECK: [[B]] = !DILocation(line: 15, column: 10, - } -} - -extern "C" { - fn giraffe(); - fn turtle(); -} |
