Skip to content

Commit b189dfe

Browse files
committed
test that parser is oblivious to set of ABIs
1 parent 1db4d60 commit b189dfe

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -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+
#[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();

0 commit comments

Comments
 (0)