RES tests.
==========

To run all tests at once, call test.sh <gcc-path> from inside this directory.
Eg: test.sh ../out/bin/gcc-res
The expected results for each file are currently included in the source file itself, sorry.

To manually run one test, use the arguments listed below.

TESTS:
======
No  | Result | Description              | Arguments to use
====+========+==========================+=================
01  | Pass   | ex-spec vs throwable.    | -Wres -Wxes
02  | Pass   | try/catch blocks.        | -Wres -Wxes
03  | Pass   | derived types.           | -Wres -Wxes
04  | Pass   | max exceptions listed.   | -Wres -Wxes
05  | Pass   | merging.                 | -Wres
06  | Pass   | remove.                  | -Wres
07  | Pass   | nested try blocks.       | -Wres
08  | Pass   | nested function bodies.  | -Wres
09  | Pass   | throw-terminate.         | -Wtt
10  | Pass   | no rethrow in catch(...) | -Wres-cnr
11  | Pass   | missing ex-spec.         | -Wres-mes
12  | Pass   | whitelisting.            | -Wresl=-include/xxxx.a.h,include/xxx+,-include/xx+,-^s+,-include/%-%^%+%,%%+,+,-include/xxxy.b.h
13  | Pass   | ill-formed code.         | -Wres -Wxes -Wtt
14  | FAIL!  | non-explicit calls.      | -Wres

For #12, make sure to call gcc from the same folder as #12, so that the path works.
If desired, add Wres-debug for debugging info (info is currently emitted as additional warnings).
