diff options
Diffstat (limited to 'test/Import/cxx-try-catch/Inputs/F.cpp')
-rw-r--r-- | test/Import/cxx-try-catch/Inputs/F.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/Import/cxx-try-catch/Inputs/F.cpp b/test/Import/cxx-try-catch/Inputs/F.cpp new file mode 100644 index 0000000000000..4e06f3599bb43 --- /dev/null +++ b/test/Import/cxx-try-catch/Inputs/F.cpp @@ -0,0 +1,18 @@ +void f() { + try { + } catch (...) { + } + + try { + } catch (int) { + } + + try { + } catch (int varname) { + } + + try { + } catch (int varname1) { + } catch (long varname2) { + } +} |