// { dg-options "-std=gnu++0x" }
// 2007-08-22 Benjamin Kosnik <bkoz@redhat.com>
-// Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+// Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// 1
std::error_code e1;
VERIFY( e1.value() == 0 );
- VERIFY( e1.category() == std::system_category );
+ VERIFY( e1.category() == std::system_category() );
// 2
const __gnu_test::test_category cat;
// 3
std::error_code e3(std::errc::operation_not_supported);
VERIFY( e3.value() == int(std::errc::operation_not_supported) );
- VERIFY( e3.category() == std::generic_category );
+ VERIFY( e3.category() == std::generic_category() );
return 0;
}