]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/extern-abi-string-escaping.rs
Rollup merge of #92024 - pcwalton:per-codegen-unit-names, r=davidtwco
[rust.git] / src / test / ui / parser / extern-abi-string-escaping.rs
1 // check-pass
2
3 // Check that the string literal in `extern lit` will escapes.
4
5 fn main() {}
6
7 extern "\x43" fn foo() {}
8
9 extern "\x43" {
10     fn bar();
11 }
12
13 type T = extern "\x43" fn();