ReactOS
0.4.16-dev-122-g325d74c
seh_noreturn.c
Go to the documentation of this file.
1
// Copyright (c) Microsoft. All rights reserved.
2
// Licensed under the MIT license. See LICENSE file in the project root for
3
// full license information.
4
5
// SEH + no-return (explicit)
6
7
__declspec
(noreturn)
int
bar
(
int
);
8
9
void
foo
(
int
arg
) {
bar
(
arg
); }
10
11
int
filter
() {
return
bar
(3); }
12
13
void
moo1
(
int
arg
) {
14
__try {
bar
(
arg
); }
15
__except(
filter
()) {
bar
(1); }
16
17
bar
(0);
18
}
19
20
void
moo2
(
int
arg
) {
21
__try {
bar
(
arg
); }
22
__finally {
bar
(2); }
23
24
bar
(0);
25
}
bar
void bar()
Definition:
ehthrow.cxx:142
void
Definition:
nsiface.idl:2307
foo
Definition:
list_test.cpp:444
moo2
void moo2(int arg)
Definition:
seh_noreturn.c:20
filter
int filter()
Definition:
seh_noreturn.c:11
moo1
void moo1(int arg)
Definition:
seh_noreturn.c:13
__declspec
__declspec(noreturn)
Definition:
seh_noreturn.c:7
modules
rostests
apitests
compiler
ms
seh
seh_noreturn.c
Generated on Sat Oct 12 2024 06:06:37 for ReactOS by
1.9.6