Sign in
gnu
/
gcc
/
5e9c4ed903c39f82f28362d9411d4dbc491264ec
/
.
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
undeclared1.C
blob: 98c1ecb658124ec7001985f2ed193ce7883838ac [
file
] [
log
] [
blame
]
// PR c++/79493
namespace
A
{
}
struct
B
{
void
f
(
A
::
nonexistent param
);
// { dg-error ".A::nonexistent. has not been declared" }
void
*
g
(
A
::
nonexistent param
);
// { dg-error ".A::nonexistent. has not been declared" }
};