summaryrefslogtreecommitdiffstats
path: root/third_party/aom/tools/auto_refactor/c_files/decl_status_code.c
blob: a444553bb1634e82cac4ee6c579b38b7259b7ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright (c) 2021, Alliance for Open Media. All rights reserved
 *
 * This source code is subject to the terms of the BSD 2 Clause License and
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
 * was not distributed with this source code in the LICENSE file, you can
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
 * Media Patent License 1.0 was not distributed with this source code in the
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 */

typedef struct S1 {
  int x;
} T1;

int parse_decl_node_2(void) { int arr[3]; }

int parse_decl_node_3(void) { int *a; }

int parse_decl_node_4(void) { T1 t1[3]; }

int parse_decl_node_5(void) { T1 *t2[3]; }

int parse_decl_node_6(void) { T1 t3[3][3]; }

int main(void) {
  int a;
  T1 t1;
  struct S1 s1;
  T1 *t2;
}