]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/extern-abi-syntactic.rs
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / extern-abi-syntactic.rs
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 #[cfg(FALSE)]
12 extern "some_abi_that_we_are_sure_does_not_exist_semantically" {
13     fn foo();
14 }
15
16 #[cfg(FALSE)]
17 type T = extern "some_abi_that_we_are_sure_does_not_exist_semantically" fn();