mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
8 lines
176 B
C++
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
|