Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
shadow2.C
blob: 22d6a28e0161e0a12a6a31e7f0ca6bfab61b5042 [
file
] [
log
] [
blame
]
template
<
class
A
,
// { dg-message "template parameter 'A'" }
template
<
class
A
>
class
B
>
// { dg-error "declaration of template parameter 'A' shadows" }
class
X
;