Jerome Jiang | 8ceaabb | 2021-04-02 14:18:11 -0700 | [diff] [blame] | 1 | /* |
James Zern | b7c05bd | 2024-06-11 19:15:10 -0700 | [diff] [blame^] | 2 | * Copyright (c) 2021, Alliance for Open Media. All rights reserved. |
Jerome Jiang | 8ceaabb | 2021-04-02 14:18:11 -0700 | [diff] [blame] | 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 | |
Angie Chiang | bf59e61 | 2020-11-06 17:44:36 -0800 | [diff] [blame] | 12 | typedef struct S1 { |
| 13 | int x; |
| 14 | } T1; |
| 15 | |
| 16 | struct S3 { |
| 17 | int x; |
| 18 | }; |
| 19 | |
| 20 | typedef struct { |
| 21 | int x; |
| 22 | struct S3 s3; |
| 23 | } T4; |
| 24 | |
| 25 | typedef union U5 { |
| 26 | int x; |
| 27 | double y; |
| 28 | } T5; |
| 29 | |
| 30 | typedef struct S6 { |
| 31 | struct { |
| 32 | int x; |
| 33 | }; |
| 34 | union { |
| 35 | int y; |
| 36 | int z; |
| 37 | }; |
| 38 | } T6; |
| 39 | |
| 40 | typedef struct S7 { |
| 41 | struct { |
| 42 | int x; |
| 43 | } y; |
| 44 | union { |
| 45 | int w; |
| 46 | } z; |
| 47 | } T7; |
| 48 | |
Wan-Teh Chang | d583f4f | 2023-11-22 11:46:57 -0800 | [diff] [blame] | 49 | int main(void) {} |