]>
Commit | Line | Data |
---|---|---|
32a655c1 SL |
1 | // Test that the MSP430 interrupt ABI cannot be used when msp430_interrupt |
2 | // feature gate is not used. | |
3157f602 | 3 | |
f035d41b XL |
4 | // ignore-riscv64 msp430 is not supported |
5 | ||
32a655c1 SL |
6 | extern "msp430-interrupt" fn foo() {} |
7 | //~^ ERROR msp430-interrupt ABI is experimental and subject to change | |
a7813a04 | 8 | |
970d7e83 | 9 | fn main() { |
32a655c1 | 10 | foo(); |
223e47cc | 11 | } |