Files
codeql/cpp/ql/test/library-tests/rvalueCast/enabled.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
176 B
C++

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