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