We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75fb282 commit 05c6f75Copy full SHA for 05c6f75
clang/test/CodeGenObjCXX/return.mm
@@ -12,19 +12,7 @@ - (int)method {
12
13
@end
14
15
-enum Enum {
16
- a
17
-};
18
-
19
-int (^block)(Enum) = ^int(Enum e) {
20
- switch (e) {
21
- case a:
22
- return 1;
23
- }
24
25
26
-// Ensure that both methods and blocks don't use the -fstrict-return undefined
27
-// behaviour optimization.
+// Ensure that methods don't use the -fstrict-return undefined behaviour optimization.
28
29
// CHECK-NOT: call void @llvm.trap
30
// CHECK-NOT: unreachable
0 commit comments