diff options
-rw-r--r-- | llvm/test/Regression/C++Frontend/2003-11-04-CatchLabelName.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/Regression/C++Frontend/2003-11-04-CatchLabelName.cpp b/llvm/test/Regression/C++Frontend/2003-11-04-CatchLabelName.cpp new file mode 100644 index 00000000000..1646f024db4 --- /dev/null +++ b/llvm/test/Regression/C++Frontend/2003-11-04-CatchLabelName.cpp @@ -0,0 +1,9 @@ +#include <string> + +void bar(); + +void test() { + try { + bar(); + } catch (std::string) {} +} |