1 error: attribute should be applied to a foreign function or static
2 --> $DIR/link-ordinal-not-foreign-fn.rs:3:1
4 LL | #[link_ordinal(123)]
7 error: attribute should be applied to a foreign function or static
8 --> $DIR/link-ordinal-not-foreign-fn.rs:7:1
10 LL | #[link_ordinal(123)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error: attribute should be applied to a foreign function or static
14 --> $DIR/link-ordinal-not-foreign-fn.rs:11:1
16 LL | #[link_ordinal(42)]
19 error: aborting due to 3 previous errors