Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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" }
}
}