1 /*
2 * Copyright (c) 2021, Alliance for Open Media. All rights reserved.
3 *
4 * This source code is subject to the terms of the BSD 2 Clause License and
5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 * was not distributed with this source code in the LICENSE file, you can
7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 * Media Patent License 1.0 was not distributed with this source code in the
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10 */
11
12 extern const int global_a[13];
13
14 const int global_b = 0;
15
16 typedef struct S1 {
17 int x;
18 } T1;
19
20 struct S3 {
21 int x;
22 } s3;
23
func_global_1(int * a)24 int func_global_1(int *a) {
25 *a = global_a[3];
26 return 0;
27 }
28