Clang fails to compile the above file, with the following error:
warning: using directive refers to implicitly-defined namespace 'std'
This prevents the following testcase from executing:
gdb.cp/exception.exp
+2020-04-20 Gary Benson <gbenson@redhat.com>
+
+ * gdb.cp/exception.cc: Fix compilation error with clang.
+
2020-04-20 Gary Benson <gbenson@redhat.com>
* gdb/testsuite/gdb.trace/tspeed.c: Fix compilation error with
// Test file for exception handling support.
-using namespace std;
-
int foo (int i)
{
if (i < 32)