llvm-mirror/test/C++Frontend/2003-11-04-CatchLabelName.cpp

12 lines
149 B
C++
Raw Normal View History

2004-11-06 22:29:57 +00:00
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
2003-11-05 01:36:49 +00:00
#include <string>
void bar();
void test() {
try {
bar();
} catch (std::string) {}
}