summaryrefslogtreecommitdiff
path: root/test/FrontendC++/2003-11-04-CatchLabelName.cpp
blob: 7dbe788f4e17adb37bc1f864fe94e6867f7282e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null

#include <string>

void bar();

void test() {
  try {
    bar();
  } catch (std::string) {}
}