2013-02-07 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/27_io/basic_ios/pr56193.cc: Tweak.
From-SVN: r195852
+2013-02-07 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * testsuite/27_io/basic_ios/pr56193.cc: Tweak.
+
2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
+ PR libstdc++/56193
* include/bits/basic_ios.h: Replace operator void*() const
with explicit operator bool() const in C++11 and greater.
* testsuite/27_io/basic_ios/pr56193.cc: New file.
// 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
//
-// Copyright (C) 2007-2013 Free Software Foundation, Inc.
+// Copyright (C) 2013 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
#include <iostream>
// PR libstdc++/56193
-
-int
+void
test01()
{
std::cout << std::cout; // { dg-error "cannot bind" }
}
-
// { dg-error "initializing argument" "" { target *-*-* } 602 }