Files
codeql/cpp/ql/test/library-tests/structs/compatible_c/c1_gnu.c
Jeroen Ketema 55f8cb7935 C++: Drop --clang_vector_types option
The types are already enabled through the specfied gcc version.
2025-05-16 15:12:06 +02:00

11 lines
370 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 --gnu_version 40700