Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
typeof6.C
blob: ef75f255cb480ed3aec8569d544057020000bd69 [
file
] [
log
] [
blame
]
// { dg-options "" }
template
<
class
T
>
void
test1
()
{
int
x
=
0
;
const
typeof
(
x
)
&
t1
=
x
+
0
;
}
void
test2
()
{
int
x
=
0
;
const
typeof
(
x
)
&
t1
=
x
+
0
;
}
int
main
()
{
test1
<int>
();
test2
();
}