Files
codeql/cpp/ql/test/library-tests/rvalueCast/disabled.cpp
Jeroen Ketema 46b230ae92 C++: Simplify more semmle-extractor-options
This will allow us to drop a number of special cases from the
extractor.
2024-12-20 16:01:19 +01:00

8 lines
158 B
C++

void disabled(void) {
int a = 1;
int *p = &a;
p = &(int)a;
}
// semmle-extractor-options: --microsoft --edg --preserve_lvalues_with_same_type_casts