Skip to content

Commit c3248e6

Browse files
committed
Add test case for build example
1 parent 23fced0 commit c3248e6

File tree

2 files changed

+1179
-0
lines changed

2 files changed

+1179
-0
lines changed

tests/ui/issues/116729.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//@ build-pass
2+
//@ rustc-env:CARGO_CRATE_NAME=build_script_build
3+
//@ compile-flags:-Cremark=all -Cdebuginfo=1
4+
//@ compile-flags:--crate-name=build_script_build
5+
6+
fn main() {
7+
_ = "".split('.');
8+
}

0 commit comments

Comments
 (0)