Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test23262.d

raw
1 /* https://issues.dlang.org/show_bug.cgi?id=23262
2 */
3
4 struct T()
5 {
6 string[] tags;
7
8 this(string[] tags...)
9 {
10 this.tags = tags; // don't infer `return` attribute for `tags`
11 }
12 }
13
14 void test()
15 {
16 T!() t;
17 }