summaryrefslogtreecommitdiff
path: root/test cases/rust/12 bindgen/src/main3.rs
blob: 8bb1ba53bff8739742a781ca3da56e40d5b93a7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-License-Identifier: Apache-2.0
// Copyright © 2023 Red Hat, Inc

#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

include!("header3.rs");

fn main() {
    unsafe {
        std::process::exit(add(0, sub(0, 0)));
    };
}