diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-07-04 08:45:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-07-04 08:45:31 +0200 |
commit | 612b94596ad38263464c27da26a7186e7c22cca9 (patch) | |
tree | 0415de165032ed891b28b5640397f7b285c036ed /tests/cxx/tree/enumeration/inheritance/driver.cxx | |
parent | 6f5e742482eadf055c18bdbe4082450d3161edef (diff) |
Suppress new GCC 4.8 warnings in tests
Diffstat (limited to 'tests/cxx/tree/enumeration/inheritance/driver.cxx')
-rw-r--r-- | tests/cxx/tree/enumeration/inheritance/driver.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cxx/tree/enumeration/inheritance/driver.cxx b/tests/cxx/tree/enumeration/inheritance/driver.cxx index 6141af8..1842982 100644 --- a/tests/cxx/tree/enumeration/inheritance/driver.cxx +++ b/tests/cxx/tree/enumeration/inheritance/driver.cxx @@ -7,6 +7,7 @@ // #include <memory> // std::auto_ptr +#include <cassert> #include <iostream> #include "test.hxx" @@ -39,6 +40,11 @@ main (int argc, char* argv[]) cout << "bottom" << endl; break; } + default: // Suppress warning. + { + assert (false); + break; + } } } catch (xml_schema::exception const& e) |