mirror of
https://github.com/github/codeql.git
synced 2025-12-19 10:23:15 +01:00
11 lines
189 B
C++
11 lines
189 B
C++
struct Four {
|
|
operator int() {
|
|
return 4;
|
|
}
|
|
};
|
|
|
|
int main() {
|
|
Four four;
|
|
return four; // There is a call to operator int() here. [ITS LOCATION SHOULD BE THE ENTIRE WORD 'four']
|
|
}
|