CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
142 lines
1.8 KiB
C
142 lines
1.8 KiB
C
typedef int Int;
|
|
typedef float Float;
|
|
|
|
// Matches
|
|
struct S0 {
|
|
Int field1;
|
|
Float field2;
|
|
};
|
|
|
|
struct S0 x0;
|
|
|
|
// Mismatch in field type
|
|
struct S1 {
|
|
Int field1;
|
|
int field2;
|
|
};
|
|
|
|
struct S1 x1;
|
|
|
|
// Mismatch in tag kind.
|
|
struct S2 { int i; float f; } x2;
|
|
|
|
// Missing fields
|
|
struct S3 { int i; float f; double d; } x3;
|
|
|
|
// Extra fields
|
|
struct S4 { int i; } x4;
|
|
|
|
// Bit-field matches
|
|
struct S5 { int i : 8; unsigned j : 8; } x5;
|
|
|
|
// Bit-field mismatch
|
|
struct S6 { int i : 8; unsigned j : 8; } x6;
|
|
|
|
// Bit-field mismatch
|
|
struct S7 { int i : 8; unsigned j : 8; } x7;
|
|
|
|
// Incomplete type
|
|
struct S8 *x8;
|
|
|
|
// Incomplete type
|
|
struct S9 { int i; float f; } *x9;
|
|
|
|
// Incomplete type
|
|
struct S10 *x10;
|
|
|
|
// Matches
|
|
struct ListNode {
|
|
int value;
|
|
struct ListNode *Next;
|
|
} xList;
|
|
|
|
// Mismatch due to struct used internally
|
|
struct DeepError {
|
|
int value;
|
|
struct DeeperError { int i; int f; } *Deeper;
|
|
} xDeep;
|
|
|
|
// Matches
|
|
struct {
|
|
Int i;
|
|
float f;
|
|
} x11;
|
|
|
|
// Matches
|
|
typedef struct {
|
|
Int i;
|
|
float f;
|
|
} S12;
|
|
|
|
S12 x12;
|
|
|
|
// Mismatch
|
|
typedef struct {
|
|
Float i; // Mismatch here.
|
|
float f;
|
|
} S13;
|
|
|
|
S13 x13;
|
|
|
|
// Matches
|
|
struct Unnamed {
|
|
union {
|
|
struct {
|
|
int i;
|
|
} S;
|
|
struct {
|
|
float i;
|
|
} R;
|
|
} U;
|
|
} x14;
|
|
|
|
// Matches
|
|
struct DeepUnnamed {
|
|
union {
|
|
union {
|
|
struct {
|
|
long i;
|
|
} S;
|
|
struct {
|
|
int i;
|
|
} R;
|
|
} U1;
|
|
union {
|
|
struct {
|
|
long i;
|
|
} S;
|
|
struct {
|
|
float i;
|
|
} T;
|
|
} U2;
|
|
} U;
|
|
struct {
|
|
long i;
|
|
} V;
|
|
} x15;
|
|
|
|
// Mismatch due to unnamed struct used internally
|
|
struct DeepUnnamedError {
|
|
union {
|
|
union {
|
|
struct {
|
|
long i;
|
|
} S;
|
|
struct {
|
|
int i;
|
|
} R;
|
|
} U1;
|
|
union {
|
|
struct {
|
|
long i; // Mismatch here.
|
|
} S;
|
|
struct {
|
|
float i;
|
|
} T;
|
|
} U2;
|
|
} U;
|
|
struct {
|
|
long i;
|
|
} V;
|
|
} x16;
|