Files
codeql/cpp/ql/test/library-tests/syntax-zoo/ms_try_except.cpp
2019-08-06 14:10:25 +02:00

25 lines
340 B
C++

// semmle-extractor-options: --microsoft
void ms_try_except(int j) {
int x;
__try {
__try {
x = 1;
}
__except (j) {
x = 2;
}
__try {
x = 3;
}
__finally {
x = 4;
}
} __except (j - 1) {
x = 5;
}
;
}