2 * The MIT License (MIT)
4 * Copyright (c) 2016 Philippe Proulx <pproulx@efficios.com>
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 * copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
28 #include "test-platform.h"
33 struct test_platform_ctx
*platform_ctx
;
34 const uint8_t subsubsubsubarray1
[] = {1, 2};
35 const uint8_t subsubsubsubarray2
[] = {3, 4};
36 const uint8_t subsubsubsubarray3
[] = {5, 6};
37 const uint8_t subsubsubsubarray4
[] = {7, 8};
38 const uint8_t subsubsubsubarray5
[] = {9, 10};
39 const uint8_t subsubsubsubarray6
[] = {11, 12};
40 const uint8_t subsubsubsubarray7
[] = {13, 14};
41 const uint8_t subsubsubsubarray8
[] = {15, 16};
42 const uint8_t subsubsubsubarray9
[] = {17, 18};
43 const uint8_t subsubsubsubarray10
[] = {19, 20};
44 const uint8_t subsubsubsubarray11
[] = {21, 22};
45 const uint8_t subsubsubsubarray12
[] = {23, 24};
46 const uint8_t subsubsubsubarray13
[] = {25, 26};
47 const uint8_t subsubsubsubarray14
[] = {27, 28};
48 const uint8_t subsubsubsubarray15
[] = {29, 30};
49 const uint8_t subsubsubsubarray16
[] = {31, 32};
50 const uint8_t *subsubsubarray1
[] = {subsubsubsubarray1
, subsubsubsubarray2
};
51 const uint8_t *subsubsubarray2
[] = {subsubsubsubarray3
, subsubsubsubarray4
};
52 const uint8_t *subsubsubarray3
[] = {subsubsubsubarray5
, subsubsubsubarray6
};
53 const uint8_t *subsubsubarray4
[] = {subsubsubsubarray7
, subsubsubsubarray8
};
54 const uint8_t *subsubsubarray5
[] = {subsubsubsubarray9
, subsubsubsubarray10
};
55 const uint8_t *subsubsubarray6
[] = {subsubsubsubarray11
, subsubsubsubarray12
};
56 const uint8_t *subsubsubarray7
[] = {subsubsubsubarray13
, subsubsubsubarray14
};
57 const uint8_t *subsubsubarray8
[] = {subsubsubsubarray15
, subsubsubsubarray16
};
58 const uint8_t * const *subsubarray1
[] = {subsubsubarray1
, subsubsubarray2
};
59 const uint8_t * const *subsubarray2
[] = {subsubsubarray3
, subsubsubarray4
};
60 const uint8_t * const *subsubarray3
[] = {subsubsubarray5
, subsubsubarray6
};
61 const uint8_t * const *subsubarray4
[] = {subsubsubarray7
, subsubsubarray8
};
62 const uint8_t * const * const *subarray1
[] = {subsubarray1
, subsubarray2
};
63 const uint8_t * const * const *subarray2
[] = {subsubarray3
, subsubarray4
};
64 const uint8_t * const * const * const *array
[] = {subarray1
, subarray2
};
66 platform_ctx
= test_platform_init(512);
68 barectf_trace_ev(test_platform_barectf_ctx(platform_ctx
), array
);
69 test_platform_fini(platform_ctx
);
This page took 0.031852 seconds and 4 git commands to generate.