diff options
author | cooldome <cdome@bk.ru> | 2018-02-12 20:23:34 +0000 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-02-12 21:23:34 +0100 |
commit | d24b6667c6f74b61ea697bf91ce454f297ddac91 (patch) | |
tree | 85fed4537dfe34647f4a4800ccea14461ea92857 /tests/exception | |
parent | 7cbab49645541af01dbd5afac98df637b02a0c0a (diff) | |
download | Nim-d24b6667c6f74b61ea697bf91ce454f297ddac91.tar.gz |
genTryCpp to catch by Nim type, ready for first review (#7196)
* Rewrite genTryCpp * correction * Implement polymorphic raise in cpp * revert backticks in emit * Cleanp a comment * revert test changes * better handling of <new> header
Diffstat (limited to 'tests/exception')
-rw-r--r-- | tests/exception/tdont_overwrite_typename.nim | 1 | ||||
-rw-r--r-- | tests/exception/texcas.nim | 1 | ||||
-rw-r--r-- | tests/exception/tnestedreturn.nim | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/exception/tdont_overwrite_typename.nim b/tests/exception/tdont_overwrite_typename.nim index 147ccc001..6e3ff816f 100644 --- a/tests/exception/tdont_overwrite_typename.nim +++ b/tests/exception/tdont_overwrite_typename.nim @@ -1,4 +1,5 @@ discard """ + targets: "c cpp" output: '''Check passed Check passed''' """ diff --git a/tests/exception/texcas.nim b/tests/exception/texcas.nim index fee45af3f..298aee707 100644 --- a/tests/exception/texcas.nim +++ b/tests/exception/texcas.nim @@ -1,4 +1,5 @@ discard """ + targets: "c cpp" output: '''Hello Hello ''' diff --git a/tests/exception/tnestedreturn.nim b/tests/exception/tnestedreturn.nim index 1480764f1..bf26f4903 100644 --- a/tests/exception/tnestedreturn.nim +++ b/tests/exception/tnestedreturn.nim @@ -1,4 +1,5 @@ discard """ + targets: "c cpp" file: "tnestedreturn.nim" output: "A\nB\nC\n" """ |