repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Allow resolving headers from a PCH even after headers+PCH were moved to another path.
[clang.git]
/
test
/
SemaObjCXX
/
exceptions-fragile.mm
blob
11dd8e94c1de2a2ec54e4dd1ab2255a5ea3d2eeb
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
@interface NSException @end
4
void opaque();
5
6
namespace test0 {
7
void test() {
8
try {
9
} catch (NSException *e) { // expected-error {{can't catch Objective C exceptions in C++ in the non-unified exception model}}
10
}
11
}
12
}