diff options
Diffstat (limited to '')
-rw-r--r-- | third_party/aom/tools/auto_refactor/c_files/decl_status_code.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/third_party/aom/tools/auto_refactor/c_files/decl_status_code.c b/third_party/aom/tools/auto_refactor/c_files/decl_status_code.c new file mode 100644 index 0000000000..a444553bb1 --- /dev/null +++ b/third_party/aom/tools/auto_refactor/c_files/decl_status_code.c @@ -0,0 +1,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; +} |