Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
794181788d94b7bc9e4717b97313f525054c4710
/
.
/
src
/
test
/
ui
/
feature-gates
/
feature-gate-abi-msp430-interrupt.rs
blob: 37c39b6384dfffcfc32028bd988e2e21620866a0 [
file
] [
log
] [
blame
]
// Test that the MSP430 interrupt ABI cannot be used when msp430_interrupt
// feature gate is not used.
extern
"msp430-interrupt"
fn
foo
()
{}
//~^ ERROR msp430-interrupt ABI is experimental and subject to change
fn
main
()
{
foo
();
}