Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test23262.d
blob: 96da2721b1b96430d7f81aa161af1a4a47effaa0 [
file
] [
log
] [
blame
]
/* https://issues.dlang.org/show_bug.cgi?id=23262
*/
struct
T
()
{
string
[]
tags
;
this
(
string
[]
tags
...)
{
this
.
tags
=
tags
;
// don't infer `return` attribute for `tags`
}
}
void
test
()
{
T
!()
t
;
}