diff options
Diffstat (limited to 'tests/cxx/tree/enumeration/ctor/driver.cxx')
-rw-r--r-- | tests/cxx/tree/enumeration/ctor/driver.cxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/cxx/tree/enumeration/ctor/driver.cxx b/tests/cxx/tree/enumeration/ctor/driver.cxx deleted file mode 100644 index beda424..0000000 --- a/tests/cxx/tree/enumeration/ctor/driver.cxx +++ /dev/null @@ -1,30 +0,0 @@ -// file : tests/cxx/tree/enumeration/ctor/driver.cxx -// license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -// Test enumeration constructors. -// -#include <string> - -#include "test.hxx" - -using namespace std; -using namespace test; - -int -main () -{ - // Test ctor(const char*). - // - { - string_enum se ("a"); - type t ("a", 1); - } - - // Test ctor(const std::string&) - // - { - string const s ("c"); - string_enum se (s); - type t (s, 3); - } -} |