Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error54.C
blob: b49c76b005720049fc5e183bf3018f01bde48cef [
file
] [
log
] [
blame
]
// PR c++/51640
class
ex
{};
namespace
t
{
class
ex2
:
public
ex
{};
}
class
ex2
:
public
ex
{};
void
bar
()
{
using
namespace
t
;
try
{
}
catch
(
ex2
&)
{
// { dg-error "reference to 'ex2' is ambiguous" }
}
}