repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[analyzer] Refactoring: Drop the 'GR' prefix.
[clang.git]
/
test
/
CodeGenCXX
/
try-catch.cpp
blob
2b5f3232d1fb71ef148e86eb3d9dfc7bd91b6d3d
1
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -fexceptions | FileCheck %s
2
3
struct
X
{ };
4
5
const
X
g
();
6
7
void
f
() {
8
try
{
9
throw
g
();
10
// CHECK: @_ZTI1X to i8
11
}
catch
(
const
X x
) {
12
}
13
}