diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-05-12 13:50:44 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-05-12 13:50:44 +0000 |
commit | 14e2a91fdf400c861cd38c91c3c973cc609180a8 (patch) | |
tree | bcf31fa8d355b60d2b4b87506f17f4449a0a14cf /epan/exntest.c | |
parent | 93377f52362a15624130319c8b7a44bcf3eabb50 (diff) | |
download | wireshark-14e2a91fdf400c861cd38c91c3c973cc609180a8.tar.gz |
Include config.h (for WS_MSVC_NORETURN) and g_gnuc.h (for G_GNUC_NORETURN)
svn path=/trunk/; revision=37077
Diffstat (limited to 'epan/exntest.c')
-rw-r--r-- | epan/exntest.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/exntest.c b/epan/exntest.c index 3d6b63b385..ef5094d3cb 100644 --- a/epan/exntest.c +++ b/epan/exntest.c @@ -22,6 +22,7 @@ #include <stdio.h> #include <glib.h> +#include <config.h> #include "exceptions.h" gboolean failed = FALSE; @@ -105,7 +106,7 @@ run_tests(void) ex_thrown++; } ENDTRY; - + if (finally_called != 1) { printf("03: FINALLY called %u times (not 1) on uncaught exception\n", finally_called); failed = TRUE; @@ -139,7 +140,7 @@ run_tests(void) finally_called ++; } ENDTRY; - + if (finally_called != 11) { printf("04: finally_called = %u (not 11) on rethrown exception\n", finally_called); failed = TRUE; @@ -178,7 +179,7 @@ run_tests(void) finally_called ++; } ENDTRY; - + if (finally_called != 11) { printf("05: finally_called = %u (not 11) on exception thrown from CATCH\n", finally_called); failed = TRUE; |