llvm-project/llvm/test/FrontendC++/2003-11-04-CatchLabelName.cpp

12 lines
149 B
C++
Raw Normal View History

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