Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
lto
/
20101014-2_0.C
blob: 0b2a52c616b483affba91079e974c85c81e0a0f6 [
file
] [
log
] [
blame
]
// { dg-lto-do assemble }
template
<
class
T
,
unsigned
long
l
>
inline
unsigned
long
foo
(
T
(&)[
l
])
{
return
l
;
}
struct
S
{
char
*
s
[
4
];
S
();
};
S
::
S
()
{
typedef
int
T
[
foo
(
s
)
==
4
?
1
:
-
1
];
}