From 612b94596ad38263464c27da26a7186e7c22cca9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 4 Jul 2013 08:45:31 +0200 Subject: Suppress new GCC 4.8 warnings in tests --- tests/cxx/tree/enumeration/inheritance/driver.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/cxx/tree/enumeration') 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 // std::auto_ptr +#include #include #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) -- cgit v1.1