We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b189dfe commit bffc3d8Copy full SHA for bffc3d8
src/test/ui/parser/extern-abi-raw-strings.rs
@@ -0,0 +1,13 @@
1
+// check-pass
2
+
3
+// Check that the string literal in `extern lit` will accept raw strings.
4
5
+fn main() {}
6
7
+extern r#"C"# fn foo() {}
8
9
+extern r#"C"# {
10
+ fn bar();
11
+}
12
13
+type T = extern r#"C"# fn();
src/test/ui/parser/extern-abi-string-escaping.rs
+// Check that the string literal in `extern lit` will escapes.
+extern "\x43" fn foo() {}
+extern "\x43" {
+type T = extern "\x43" fn();
0 commit comments