mirror of
https://github.com/github/codeql.git
synced 2026-02-12 13:11:20 +01:00
13 lines
177 B
C++
13 lines
177 B
C++
// semmle-extractor-options: -std=c++23
|
|
|
|
struct S {
|
|
int xs[2][2];
|
|
int operator[](int i, int j) {
|
|
return xs[i][j];
|
|
}
|
|
};
|
|
|
|
int foo(S s) {
|
|
return s[1, 2];
|
|
}
|