aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/parser/error-handling
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-21 18:41:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-21 18:41:44 +0200
commit23d879362e0690eb71d3958d0b1a331211468eb6 (patch)
tree1d6facc7867816e255e7641d465025910652125e /tests/cxx/parser/error-handling
parent28c9fe4e51827790ef9e770f54d669a8656fda4e (diff)
Get rid of warnings
Diffstat (limited to 'tests/cxx/parser/error-handling')
-rw-r--r--tests/cxx/parser/error-handling/codes/driver.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cxx/parser/error-handling/codes/driver.cxx b/tests/cxx/parser/error-handling/codes/driver.cxx
index 8b3c693..58de873 100644
--- a/tests/cxx/parser/error-handling/codes/driver.cxx
+++ b/tests/cxx/parser/error-handling/codes/driver.cxx
@@ -259,6 +259,11 @@ main (int argc, char* argv[])
<< e.app_code () << endl;
break;
}
+ default:
+ {
+ cout << "no error" << endl;
+ break;
+ }
}
continue;