repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaObjCXX
/
goto.mm
blob
55bde99da29f31dabc333e551eee4be5d17ad4b2
1
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
2
3
// PR9495
4
struct NonPOD { NonPOD(); ~NonPOD(); };
5
6
@interface A
7
@end
8
9
@implementation A
10
- (void)method:(bool)b {
11
NonPOD np;
12
if (b) {
13
goto undeclared; // expected-error{{use of undeclared label 'undeclared'}}
14
}
15
}
16
@end