Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
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" }
};