Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
addr1.C
blob: dd5e3870fc53e238de9f62d855e5fa02df4965bc [
file
] [
log
] [
blame
]
// PR c++/15542
template
<typename>
struct
S_T
{
const
char
**
operator
&
();
};
template
<
class
T
>
void
foo
(
T
**)
{}
template
<typename>
void
templateTest
()
{
S_T
<
const
char
>
s_t
;
foo
(&
s_t
);
}