Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ext
/
typeof1.C
blob: 8921504450b20c22fa8cb8ddb4d81a80ff40efdd [
file
] [
log
] [
blame
]
// { dg-do assemble }
struct
inttest
{
int
elem
[
1
];
};
template
<
class
T
>
void
F
(
T x
)
{
typedef
__typeof
(
x
.
elem
[
0
])
dummy
;
dummy i
=
1
;
}
int
main
()
{
inttest x
;
F
(
x
);
}