Dan Gohman | fea1dd0 | 2009-08-25 15:38:29 +0000 | [diff] [blame] | 1 | // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null |
Tanya Lattner | d13e0ae | 2004-11-06 22:29:57 +0000 | [diff] [blame] | 2 | |
Chris Lattner | 4dcf5e6 | 2003-11-05 01:36:49 +0000 | [diff] [blame] | 3 | #include <string> |
4 | |||||
5 | void bar(); | ||||
6 | |||||
7 | void test() { | ||||
8 | try { | ||||
9 | bar(); | ||||
10 | } catch (std::string) {} | ||||
11 | } |