This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust
/
tests
/
ui
/
rfcs
/
rfc-3348-c-string-literals
/
basic.rs
7 lines
102 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-pass
//@ edition: 2021
update and add a few tests
2023-03-06 07:10:23 +00:00
fn
main
(
)
{
assert_eq!
(
b
"
test
\0
"
,
c
"
test
"
.
to_bytes_with_nul
(
)
)
;
}
Reference in New Issue
Copy Permalink