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

12 lines
146 B
C++

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