aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/parser/error-handling/codes/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/parser/error-handling/codes/driver.cxx')
-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;