Skip to content

Commit 8c8ed07

Browse files
committed
Adding comment on invalid throw in test case.
1 parent 52e1647 commit 8c8ed07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/test/library-tests/ir/ir/try_except.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void throw_cpp(int b) {
4545
int x = 0;
4646
__try {
4747
if (b) {
48-
throw 1;
48+
throw 1; // invalid use of throw in Seh exception
4949
}
5050
}
5151
__except (1) {

0 commit comments

Comments
 (0)