OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2016 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. |
| 5 */ |
| 6 |
| 7 #include <stdio.h> |
| 8 |
| 9 /* |
| 10 * These functions would typically be declared in a shared header file, but for |
| 11 * testing convenience, they are defined here. |
| 12 */ |
| 13 int get_module_a_var(); |
| 14 int get_module_b_var(); |
| 15 int get_module_c_var(); |
| 16 |
| 17 /* |
| 18 * The loader should only need to load "dependencies_test", and the dependencies |
| 19 * should by loaded automatically by the pll_loader. |
| 20 * |
| 21 * | dependencies_test (depends on libc and test_pll_c) |
| 22 * | libc |
| 23 * * No dependencies |
| 24 * | test_pll_c (depends on test_pll_a and test_pll_b) |
| 25 * | test_pll_a |
| 26 * * No dependencies |
| 27 * | test_pll_b (depends on test_pll_a) |
| 28 * | test_pll_a |
| 29 * * No dependencies |
| 30 */ |
| 31 |
| 32 int main(int argc, char *argv[]) { |
| 33 printf("%d\n", get_module_a_var()); |
| 34 printf("%d\n", get_module_b_var()); |
| 35 printf("%d\n", get_module_c_var()); |
| 36 return 0; |
| 37 } |
OLD | NEW |