Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attrib31.C
blob: c614ed4f4086d6a9c32128f6d2fdb46521f66533 [
file
] [
log
] [
blame
]
// PR c++/35097
template
<int>
struct
A
;
template
<>
struct
A
<
0
>
{
typedef
int
X __attribute
((
aligned
(
4
)));
};
template
<
typename
T
>
void
foo
(
const
A
<
0
>::
X
&,
T
);
void
bar
()
{
foo
(
A
<
0
>::
X
(),
0
);
}