Files
codeql/cpp/ql/test/library-tests/structs/compatible_c/c1_gnu.c
2024-12-19 21:46:33 +01:00

11 lines
397 B
C

// Definitions of Kiwi are not compatible - they have different vector sizes
struct Kiwi {
int __attribute__ ((vector_size (16))) kiwi_x;
};
// Definitions of Lemon are not compatible - the vectors have different base types
struct Lemon {
unsigned int __attribute__ ((vector_size (16))) lemon_x;
};
// semmle-extractor-options: -std=c99 --clang --edg --clang_vector_types --gnu_version 40700