Files
codeql/cpp/ql/test/library-tests/exprs/min_max/test.cpp
Jeroen Ketema 0796184573 C++: Specify GNU version on min/max test
The `<?` and `>?` operators where removed in g++ in version 4.3, and the
latest version of our our frontend enforces this through a version check.
Hence, to keep the test working, we not to explicitly specify a version.
2025-05-28 14:16:47 +02:00

8 lines
116 B
C++

// semmle-extractor-options: --gnu_version 40200
void f(int i, int j) {
int k = i <? j;
int l = i >? j;
}