diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-07-22 16:03:56 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-07-22 16:03:56 +0000 |
| commit | 47cd7a91f47e8687a801e926293afcb8ef93ffd8 (patch) | |
| tree | 70362e6f9c7ff8e9912bd72c82a86921e43c9c8f /clang/test/PCH/cxx-templates.h | |
| parent | fd23a97d9c6d15125bda67a00fe12b820cd452f3 (diff) | |
| download | bcm5719-llvm-47cd7a91f47e8687a801e926293afcb8ef93ffd8.tar.gz bcm5719-llvm-47cd7a91f47e8687a801e926293afcb8ef93ffd8.zip | |
Support C++ try/catch statements for PCH.
llvm-svn: 109112
Diffstat (limited to 'clang/test/PCH/cxx-templates.h')
| -rw-r--r-- | clang/test/PCH/cxx-templates.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/PCH/cxx-templates.h b/clang/test/PCH/cxx-templates.h index 42c47f03076..47fa11eb080 100644 --- a/clang/test/PCH/cxx-templates.h +++ b/clang/test/PCH/cxx-templates.h @@ -88,7 +88,8 @@ template<unsigned N> bool isInt(int x); template<> bool isInt<8>(int x) { - return true; + try { ++x; } catch(...) { --x; } + return true; } template<typename _CharT> |

