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

12 lines
146 B
C++
Raw Normal View History

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