Files
codeql/cpp/ql/test/library-tests/structs/compatible_c/c1_gnu.c
2018-08-02 17:53:23 +01:00

11 lines
406 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: --edg --c99 --edg --clang --edg --clang_vector_types --gnu_version 40700