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 1db4d60 commit b189dfeCopy full SHA for b189dfe
src/test/ui/parser/extern-abi-syntactic.rs
@@ -0,0 +1,17 @@
1
+// check-pass
2
+
3
+// Check that from the grammar's point of view,
4
+// the specific set of ABIs is not part of it.
5
6
+fn main() {}
7
8
+#[cfg(FALSE)]
9
+extern "some_abi_that_we_are_sure_does_not_exist_semantically" fn foo() {}
10
11
12
+extern "some_abi_that_we_are_sure_does_not_exist_semantically" {
13
+ fn foo();
14
+}
15
16
17
+type T = extern "some_abi_that_we_are_sure_does_not_exist_semantically" fn();
0 commit comments