test.c 296 B

1234567891011121314151617
  1. /*
  2. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. extern int
  6. import_func1(int a, int b);
  7. extern int
  8. import_func2(int a);
  9. int
  10. test()
  11. {
  12. int a = import_func1(1, 2);
  13. int b = import_func2(3);
  14. return a + b;
  15. }