blob: 7dbe788f4e17adb37bc1f864fe94e6867f7282e5 [file] [log] [blame]
Dan Gohmanfea1dd02009-08-25 15:38:29 +00001// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
Tanya Lattnerd13e0ae2004-11-06 22:29:57 +00002
Chris Lattner4dcf5e62003-11-05 01:36:49 +00003#include <string>
4
5void bar();
6
7void test() {
8 try {
9 bar();
10 } catch (std::string) {}
11}