Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
scope1.C
blob: 14d0a1bfab6824c87a97edca13fed06979ba889e [
file
] [
log
] [
blame
]
// Test for avoiding redundant scope qualifiers.
struct
A
{
struct
B
{
};
static
void
f
(
B
,
B
);
// { dg-message {A::f\(B, B\)} }
};
int
main
()
{
A
::
f
(
42
);
// { dg-error "no match" }
}