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

12 lines
149 B
C++

// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
#include <string>
void bar();
void test() {
try {
bar();
} catch (std::string) {}
}