blob: e62a40117ce83a036da2becf0e4e3b55dc6ab2d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stdint.h>
// A trivial function defined in Rust, returning a constant value. This should
// always be inlined.
uint32_t rust_always_inlined();
uint32_t rust_never_inlined();
int main(int argc, char** argv) {
return rust_never_inlined() + rust_always_inlined();
}
|