Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
shadow2.C
blob: 41c1bb2d01c38c1f20a2b534d89e0401fcfe527d [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Origin: Jason Merrill <jason@cygnus.com>
template
<
class
T
>
struct
A
{
// { dg-message "" } shadowed parameter
struct
B
{
void
T
();
// { dg-error "" } shadows template parameter
};
};
A
<int>
a
;