blob: 89f229fee37558220af2c925511674d5652637f1 [file] [log] [blame]
Anders Carlssonabea9512011-02-28 00:40:07 +00001// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s
Douglas Gregor154fe982009-12-23 22:04:40 +00002
3struct X { };
4
5const X g();
6
7void f() {
8 try {
9 throw g();
10 // CHECK: @_ZTI1X to i8
11 } catch (const X x) {
12 }
13}